Thymeleaf][Error]Templateが存在しないか、Template Resolverにアクセスできない
エラーメッセージ
Error resolving template “/fragments/header”, template might not exist or might not be accessible by any of the configured Template Resolvers
の原因となる

デフォルトclasspathは
templates/
、pathはtemplates//fragments/header
なのでテンプレートが見つかりません解決する
1)
fragments/header
に変更
2)
pathを
/fragments/header
に維持し、classpathを変更する方法もあります.次のコードをapplication.properties
ファイルに追加します.spring.thymeleaf.prefix=classpath:/templates
Reference
この問題について(Thymeleaf][Error]Templateが存在しないか、Template Resolverにアクセスできない), 我々は、より多くの情報をここで見つけました https://velog.io/@heewonim/Thymeleaf-Error-Template이-존재하지-않거나-Template-Resolvers에-접근할-수-없음テキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol