Registry / web-framework / thymeleaf

thymeleaf

JSON →
library2.0.21javamavenunverified

Modern server-side Java template engine for both web and standalone environments, enabling natural templating with HTML.

<dependency> <groupId>org.thymeleaf</groupId> <artifactId>thymeleaf</artifactId> <version>2.0.21</version> </dependency>
INSTALL
IMPORT
SIG · THYMELEAF
T
thymeleaf
web-frameworkjavav2.0.21
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TemplateEngine
org.thymeleaf.TemplateEngine

Process a simple Thymeleaf template with a variable.

import org.thymeleaf.TemplateEngine; import org.thymeleaf.context.Context; public class Example { public static void main(String[] args) { TemplateEngine engine = new TemplateEngine(); Context context = new Context(); context.setVariable("name", "World"); String result = engine.process("Hello, [[${name}]]!", context); System.out.println(result); } }
Debug
Known issues
breakingThymeleaf 2.x is outdated; upgrade to 3.x for improved performance and features.
fix
Update dependency to org.thymeleaf:thymeleaf:3.1.2 or later.
affects: >=2.0.0,<3.0.0
Upgrade
Version history
2.0.21latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
thymeleaf — mvn dependency:get thymeleaf · libregistry