본문 바로가기

개발/Spring boot

[Spring boot] Spring Boot Configuration Annotation Processor not confiugred

@ConfigurationProperties 어노테이션을 사용할 때 import는 되었지만 다음과 같은 오류가 발생하였다.

Spring Boot Configuration Annotation Processor not confiugred

Open documentation을 클릭하면

https://docs.spring.io/spring-boot/docs/2.7.7/reference/html/configuration-metadata.html#appendix.configuration-metadata.annotation-processor 홈페이지로 이동하게 되고

다음과 같은 위치로 이동한다. 여기서 각 빌드 관리에 따른 디펜던시를 복사하여 넣어주면 된다.

 

이 후 다음과 같은 오류로 바뀔텐데

File - Invalidate Caches 에서 캐시를 모두 지우고 Invalidate and Restart를 눌러서 재실행 하면 된다.