Env2020. 10. 25. 14:52

 

원인

Spring Boot 프로젝트 생성시 탬플릿 엔진 지정 누락

 

 

해결방법

1. build.gradle파일 > dependencies {} 블록에 탬플릿엔진(ex: thymeleaf) 추가

dependencies {
    implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
    ...
    ...
    ...
}

2. gradle refresh

3. Spring Boot 재기동 

 

 

   

 

Posted by 이야봉