Registry / web-framework / spring-boot-starter-thymeleaf

spring-boot-starter-thymeleaf

JSON →
library4.0.3javamavenunverified

Starter for building web applications with Thymeleaf templating in Spring Boot.

<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> <version>4.0.3</version> </dependency>
INSTALL
IMPORT
SIG · SPRING-BOOT-STARTE
S
spring-boot-starter-thymeleaf
web-frameworkjavav4.0.3
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.

SpringTemplateEngine
org.thymeleaf.spring6.SpringTemplateEngine

A Spring MVC controller that renders a Thymeleaf template.

import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.GetMapping; @Controller public class ExampleController { @GetMapping("/") public String home(Model model) { model.addAttribute("message", "Hello Thymeleaf!"); return "home"; } }
Debug
Known issues
gotchaThymeleaf version compatibility with Spring Boot version; check Spring Boot release notes.
fix
Use the same major version of Thymeleaf as recommended by your Spring Boot version.
affects: >=3.0.0
Upgrade
Version history
4.0.3latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
spring-boot-starter-thymeleaf — mvn dependency:get spring-boot-starter-thymeleaf · libregistry