보통은 spring-boot-starter-thymeleaf를 라이브러리를 추가하여 사용하지만
spring-boot-starter-thymeleaf 1.5 버전은 Thymeleaf 2를 사용하기에
spring-boot-starter-thymeleaf가 아닌 Thymeleaf 3 라이브러리를 직접 추가해줘야 합니다.
<!-- https://mvnrepository.com/artifact/org.thymeleaf/thymeleaf -->
<dependency>
<groupId>org.thymeleaf</groupId>
<artifactId>thymeleaf</artifactId>
<version>3.0.11.RELEASE</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.thymeleaf/thymeleaf-spring4 -->
<dependency>
<groupId>org.thymeleaf</groupId>
<artifactId>thymeleaf-spring4</artifactId>
<version>3.0.11.RELEASE</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.thymeleaf.extras/thymeleaf-extras-java8time -->
<dependency>
<groupId>org.thymeleaf.extras</groupId>
<artifactId>thymeleaf-extras-java8time</artifactId>
<version>3.0.4.RELEASE</version>
</dependency>
<Maven dependency 추가>
'dev > 기타' 카테고리의 다른 글
| IntelliJ에서 Junit5 테스트 시 DisplayName이 안나오는 문제 (0) | 2020.03.05 |
|---|---|
| Error : lombok/launch/PatchFixesHider$ValPortal (0) | 2020.02.22 |
| Elvis operator와 Safe navigation operator (0) | 2020.02.18 |
| JUnit Test - java.lang.Exception: No runnable methods (0) | 2020.01.03 |
| Git - 수정한 소스에 대해 원격 저장소에 잘못 Push한 경우 조치 방법 (0) | 2019.12.30 |