모든 개발자를 위한 HTTP 웹 기본 지식
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation group: 'nz.net.ultraq.thymeleaf', name: 'thymeleaf-layout-dialect', version: '3.1.0'
https://mvnrepository.com/artifact/nz.net.ultraq.thymeleaf/thymeleaf-layout-dialect
template might not exist or might not be accessible by any of the configured Template Resolvers
- 실제로 template 경로 잘못 작성한 케이스였다. (layout 폴더인데 layouts라고 적음. 여러 코드를 가져오면서 짬뽕된 듯)
- 찾아보니 template 관련 흔한 에러 문구인듯. 더 구체적인 에러 설명이 따로 있었을까?
<head>
에러You don't need to put the layout:fragment/data-layout-fragment attribute into the
<head>
section - the decoration process will automatically copy the<head>
section of your content templates into your layout page