Thymeleaf stopped resolving layout templates after migrating to Spring Boot 2

I have a simple Spring Boot application in version 1.5.7 and I am trying to migrate it to version 2.0.0. I am almost done but there is one last piece missing and that is Thymeleaf.

Everything was working fine in the old version but after the migration, Spring Boot stopped resolving any templates (both pages and emails).

I have all templates src/main/resources/templates. Additionaly, I have layout called default in src/main/resources/templates/layout which looks like this:

My pages link to this layout like this:




Read More »

By: StackOverFlow - Monday, 12 March

Related Posts