org.thymeleaf.exceptions.TemplateInputException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
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

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.

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

  • Spring Boot seems to be auto-generating bad paths
    via Stack Overflow by smeeb
    ,
  • Spring Boot with Thymeleaf Failing
    via Stack Overflow by Bhaskar
    ,
  • Unable to hot reload JHipster application
    via Stack Overflow by ronsi
    ,
    • 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] at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1104)[thymeleaf-2.1.4.RELEASE.jar!/:2.1.4.RELEASE] at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1060)[thymeleaf-2.1.4.RELEASE.jar!/:2.1.4.RELEASE] at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1011)[thymeleaf-2.1.4.RELEASE.jar!/:2.1.4.RELEASE] at org.thymeleaf.spring4.view.ThymeleafView.renderFragment(ThymeleafView.java:335)[thymeleaf-spring4-2.1.4.RELEASE.jar!/:2.1.4.RELEASE]

    Users with the same issue

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