I have a Spring Boot 2.1.0.RELEASE project. How can I see the thymeleaf version it uses?
If you're using Maven, you can use list
goal of maven dependency plugin:
$ mvn dependency:list -DincludeArtifactIds=thymeleaf
Or with Maven Wrapper:
$ ./mvnw dependency:list -DincludeArtifactIds=thymeleaf
Example output for maven:
[INFO] --- maven-dependency-plugin:2.8:list (default-cli) @ site ---
[INFO]
[INFO] The following files have been resolved:
[INFO] org.thymeleaf:thymeleaf:jar:3.0.9.RELEASE:compile
For Gradle:
$ gradle dependencyInsight --dependency org.thymeleaf:thymeleaf
With Wrapper:
$ ./gradlew dependencyInsight --dependency org.thymeleaf:thymeleaf
Example output for Gradle:
org.thymeleaf:thymeleaf:2.1.6.RELEASE (selected by rule)
\--- org.thymeleaf:thymeleaf-spring4:2.1.6.RELEASE
\--- org.springframework.boot:spring-boot-starter-thymeleaf:1.5.9.RELEASE
\--- compile
org.thymeleaf:thymeleaf:2.1.4.RELEASE -> 2.1.6.RELEASE
\--- nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:1.4.0
\--- org.springframework.boot:spring-boot-starter-thymeleaf:1.5.9.RELEASE
\--- compile
org.thymeleaf:thymeleaf-spring4:2.1.6.RELEASE (selected by rule)
\--- org.springframework.boot:spring-boot-starter-thymeleaf:1.5.9.RELEASE
\--- compile
See also Inspecting dependencies