org.thymeleaf.exceptions.TemplateInputException

Error resolving template "error", template might not exist or might not be accessible by any of the configured Template Resolvers

Samebug tips2

Check how the URL looks like, sometimes it might happen that you have a rest controller ending with a '/' and the page name starts with one as well, so it can't resolve the name.


rafaelrafael

JDK has a bug that happens when using '/' and '//' paths. If you can, remove this from code, or follow what's said here: https://github.com/spring-projects/spring-boot/issues/1744


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web48

Stack trace

  • org.thymeleaf.exceptions.TemplateInputException: Error resolving template "error", template might not exist or might not be accessible by any of the configured Template Resolvers at org.thymeleaf.TemplateRepository.getTemplate(TemplateRepository.java:246)[thymeleaf-2.1.4.RELEASE.jar:2.1.4.RELEASE]

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

tomthomastomthomas
131 times, last one
SteVio1989SteVio1989
Once,
rafaelrafael
Once,
asdasdasdasd
6 times, last one
Shadd518Shadd518
17 times, last one
16 more bugmates