Thymeleaf-template not found with embedded tomcat
问题 At my program sze I tried to switch to embedded tomcat. Unfortunately I run into trouble, because the following thymeleaf-construct can't be solved. <th:block th:include="/main::head"/> The main.html is in the same directory as login.html which shows the failure. I got the following exception org.thymeleaf.exceptions.TemplateInputException: Error resolving template "/main", template might not exist or might not be accessible by any of the configured Template Resolvers (login:5) at org