0
私はSpringBoot 1.3.3.RELEASEとThymeleafをIntelliJで使用しています。 SpringBoot Thymeleafがテンプレートを解決していません
私はabout.htmlファイルにこのインポートを使用しています:
<div th:replace="footer.html"></div>
私はできない私は、このプロジェクトのレイアウトを持っている
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)
:私はこのエラーを取得していますそれをIntelliJまたはSpringBoot Mavenプラグインを介して動作させる。私はこのプロジェクトを実行するために埋め込みTomcatを使用しています。私はテンプレートの下のフラグメントフォルダにフラグメントを配置しようとしました。
<div th:fragment="footer.html"></div>
助けていただければ幸いです。