org.thymeleaf.TemplateRepository.getTemplate(TemplateRepository.java:247) should throw an exception

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

org.thymeleaf.TemplateRepository.getTemplate(TemplateRepository.java:247) should throw an exception

niels
Hi,

together I found that org.thymeleaf.TemplateRepository.getTemplate(TemplateRepository.java:247) throws an exception if the template isn't found. The problem is that with this the idea of ordering the template-resolver in Spring with "resolver.setOrder(1);" is useless.
I tried to replace my jsp with thymeleaf step by step. So Thymeleaf should be the first solution JSP the second. Not a big deal, but I think it should be solved in the long term.

Niels
Reply | Threaded
Open this post in threaded view
|

Re: org.thymeleaf.TemplateRepository.getTemplate(TemplateRepository.java:247) should throw an exception

danielfernandez
Administrator
For forum documentation purposes, this was discussed here: https://github.com/thymeleaf/thymeleaf/issues/143