ThymeLeaf version 3.0.0.BETA compatibility issues with Spring Boot v 1.1.12

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

ThymeLeaf version 3.0.0.BETA compatibility issues with Spring Boot v 1.1.12

Lakshay
Hi ThymeaLeaf Team,

I upgraded ThymeLeaf from 2.1.4 to 3.0.0 BETA with my Spring Boot version 1.1.12 and java 1.6. There seems to be issues upon running the server:

"Caused by: java.lang.NoClassDefFoundError: org/thymeleaf/resourceresolver/IResourceResolver"

I tried defining ThymeleafConfig.java and enabled it from my application but that doesnt help even. My pom is up to date reflecting the latest ThymeLeaf. Any help would be greatly appreciated.

PS: Thymeleaf 2.1.4 was working perfectly fine but had a lot of performance issues with large sets of data.
Reply | Threaded
Open this post in threaded view
|

Re: ThymeLeaf version 3.0.0.BETA compatibility issues with Spring Boot v 1.1.12

Zemi
Administrator
Hello Lakshay,

Thymeleaf 3 has been rewritten from scratch and there are some changes in the core packages, so all integrations have to be adapted to Thymeleaf 3.

Now that we have a stable version (beta1) integrators can start their work on upgrading their packages.

Spring Boot integration is still not upgraded, let's hope it won't take long.

Regards,
  Zemi

Reply | Threaded
Open this post in threaded view
|

Re: ThymeLeaf version 3.0.0.BETA compatibility issues with Spring Boot v 1.1.12

Lakshay
Thanks ThymeLeaf team for the quick response!
Reply | Threaded
Open this post in threaded view
|

Re: ThymeLeaf version 3.0.0.BETA compatibility issues with Spring Boot v 1.1.12

Vinay Thandra
Is the spring boot upgraded for Thymeleaf 3.0.0
Reply | Threaded
Open this post in threaded view
|

Re: ThymeLeaf version 3.0.0.BETA compatibility issues with Spring Boot v 1.1.12

Zemi
Administrator
Hello Vinay,

no, Spring Boot cannot be used yet with Thymeleaf 3. It depends on the Thymeleaf Layout Dialect that is being upgraded to Thymeleaf 3 these days.

Regards,
   Zemi

Reply | Threaded
Open this post in threaded view
|

Re: ThymeLeaf version 3.0.0.BETA compatibility issues with Spring Boot v 1.1.12

Raju
Are you going to support thyemeleaf 3 in near future,  if answer is yes by when can expect the same
Reply | Threaded
Open this post in threaded view
|

Re: ThymeLeaf version 3.0.0.BETA compatibility issues with Spring Boot v 1.1.12

Zemi
Administrator
Hello Raju,

Thymeleaf 3 is already fully supported by the Thymeleaf team.

Both Spring Boot and the Layout Dialect are not components of the Thymeleaf core but develop by third parties, so I cannot make a guess about deadlines on those projects.

Kind Regards,
  Zemi

Reply | Threaded
Open this post in threaded view
|

Re: ThymeLeaf version 3.0.0.BETA compatibility issues with Spring Boot v 1.1.12

seanhinkley
I put together a gist for spring boot w/ thymeleaf 3.0 (minus layout dialect).  hope it helps!

https://gist.github.com/seanhinkley/6eab2130ceea857c160b