0
我使用SpringBoot 1.3.3.RELEASE和Thymeleaf与IntelliJ作为我的ide。我得到这个错误:SpringBoot Thymeleaf不解决模板
org.thymeleaf.exceptions.TemplateInputException: Error resolving template "footer.html", template might not exist or might not be accessible by any of the configured Template Resolvers (about:102)
我使用的about.html文件此导入:
<div th:replace="footer.html"></div>
我不能让它通过IntelliJ或SpringBoot Maven插件工作。我正在使用嵌入式Tomcat来运行此项目。我试图把该片段到一个片段文件夹下的模板,也可以此
<div th:fragment="footer.html"></div>
任何帮助,将不胜感激。