반응형 resources 접근1 [spring boot] src/main/resources 접근하기 (org.thymeleaf.exceptions.TemplateInputException) src/main/resources 하위에 있는 main.html 에 접근하고 싶을때가 있을거다 src/main/resources 하위에 있는 main.html 에 접근하기 위하여 위와 같이 작성을 하고 실행을 하게되면 org.thymeleaf.exceptions.TemplateInputException 오류를 마주하게 될것이다. 해결방법은 간단하다. Gradle파일에 thymeleaf 설정을 해주기만 하면된다. 위와 같이 타임리프를 implementation 해준후 buile clean을 해준 후 다시 실행을 하면 정상적으로 작동한다! 2019. 12. 18. 이전 1 다음