hanker
Intellij - Spring Boot Configuration Annotation Processor not configured Error 본문
SPRING/SPRING-ERROR
Intellij - Spring Boot Configuration Annotation Processor not configured Error
hanker 2021. 4. 18. 22:21@ConfigurationProperties 어노테이션 사용중 갑작스러운 빨간알림이 생겼다.
우측에 보면 Open Documentation이라고 보이는데 클릭하면 docs.spring.io 사이트로 이동된다.
어떻게 처리할지 친절하게 알려준다.
pom.xml
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
gradle.build
dependencies {
annotationProcessor "org.springframework.boot:spring-boot-configuration-processor"
}
적용하고 오류가 안사라지길래 File - Invalidate Caches 클릭해서 재실행 했더니 깔끔하게 사라졌다.
'SPRING > SPRING-ERROR' 카테고리의 다른 글
Spring Error - Cannot resolve method 'of' in 'List' (1) | 2021.05.08 |
---|---|
SpringError - java.lang.ArrayIndexOutOfBoundsException 에러 (0) | 2021.04.29 |
Spring h2-console 접속 안될때 (403 Error) (0) | 2021.04.17 |
Cannot resolve MVC view ... 404 Error (0) | 2021.04.01 |
java.lang.NoClassDefFoundError: ch/qos/logback/classic/spi/ThrowableProxy 에러 (0) | 2021.03.31 |