감자의 개발공부 일지

[Springboot JPA] org.thymeleaf.exceptions.TemplateInputException: Error resolving template [/thymeleafEx/thymeleafEx01], template might not exist or might not be accessible by any of the configured Template Resolvers 본문

JAVA/Spring/Spring JPA

[Springboot JPA] org.thymeleaf.exceptions.TemplateInputException: Error resolving template [/thymeleafEx/thymeleafEx01], template might not exist or might not be accessible by any of the configured Template Resolvers

Elie_J 2024. 3. 12. 00:03
반응형

코드작성 도중

org.thymeleaf.exceptions.TemplateInputException: 
Error resolving template [/thymeleafEx/thymeleafEx01], 
template might not exist or might not be accessible by 
any of the configured Template Resolvers

 

다음 과 같은 오류가 발생했다! 😒

 

 

구글링 결과 원인은 다음과 같았다!

		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-devtools</artifactId>
		</dependency>

 

바로 다음과 같이 pom.xml에 spring-boot-devtools 의존성을 추가해주지 않아서였다! 😒

 

의존성을 추가해준 뒤 꼭! Reload All Maven Projects를 클랙해서 의존성을 받아오길 바란다!

 

에러가 해결되었다! 얏호! 😍

반응형