org.thymeleaf.exceptions.TemplateInputException: Error resolving template "error", template might not exist or might not be accessible by any of the configured Template Resolvers

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

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

,
Expert tip

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.

Solutions on the web

via Stack Overflow by smeeb
, 1 year ago
Error resolving template "error", template might not exist or might not be accessible by any of the configured Template Resolvers
via Stack Overflow by Bob Brown
, 1 year ago
Error resolving template "/login", template might not exist or might not be accessible by any of the configured Template Resolvers
via Stack Overflow by Bhaskar
, 9 months ago
Error resolving template "Works still fails!!!", template might not exist or might not be accessible by any of the configured Template Resolvers
via Stack Overflow by abcC
, 2 years ago
Error resolving template "You successfully uploaded file=", template might not exist or might not be accessible by any of the configured Template Resolvers
via Stack Overflow by RVA
, 1 year ago
Error resolving template "home/home", template might not exist or might not be accessible by any of the configured Template Resolvers
via Stack Overflow by Vũ Văn Toàn
, 9 months ago
Error resolving template "index", template might not exist or might not be accessible by any of the configured Template Resolvers] with root cause org.thymeleaf.exceptions.TemplateInputException: Error resolving template "index", template might not exist or might not be accessible by any of the configured Template Resolvers
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)
at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1104)
at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1060)
at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1011)

Users with the same issue

20 times, 1 week ago
6 times, 1 week ago
3 times, 3 weeks ago
131 times, 1 month ago
8 times, 2 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.