O'Reilly logo

Mastering Spring Application Development by Anjana Mankale

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Spring Thymeleaf dependency

To get started with the Thymeleaf template engine, we need to add the following dependency in the pom.xml file:

  • The Thyemleaf library:
    • groupId: org.thymeleaf
    • artifactId: thymeleaf
    • version: 2.1.4 Release
  • The Spring-Thymeleaf plugin library:
    • groupId: org.thymeleaf
    • artifactId: thymeleaf-spring4
    • version: 2.1.4. Release

For testing the framework (the note version does not necessarily match that of the core), Thymeleaf requires Java SE 5.0 or newer. Besides, it depends on the following libraries:

  • unbescape 1.1.0 or later
  • ONGL 3.0.8 or later
  • Javassist 3.16.1-GA or later
  • slf4j 1.6.6 or later
  • Additionally, if you use the LEGACYHTML5 template mode, you will need the NekoHTML 1.9.21 or later

Spring MVC and Thymeleaf

In this section, let's look ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required