【SpringBoot】Spring Boot Configuration Annotation Processor not found in classpath
程序员文章站
2024-03-14 21:52:05
...
问题描述:使用@ConfigurationProperties在idea中报如下错误:
解决方式:
maven方式:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
grade方式:
dependencies {
optional "org.springframework.boot:spring-boot-configuration-processor"
}
compileJava.dependsOn(processResources)
参考官方链接:https://docs.spring.io/spring-boot/docs/1.5.3.RELEASE/reference/html/configuration-metadata.html#configuration-metadata-annotation-processor
效果:
上一篇: python mnist数据导入以及处理
下一篇: springboot configuration annotation processor not found in classpath问题
推荐阅读
-
【SpringBoot】Spring Boot Configuration Annotation Processor not found in classpath
-
spring boot Configuration Annotation Proessor not found in classpath
-
springboot configuration annotation processor not found in classpath问题
-
解决spring boot1.5以上版本@ConfigurationProperties提示“Spring Boot Configuration Annotation Processor not.."
-
Spring Boot configuration annotation processor not found in classpath
-
Spring Boot配置 : YAML (简介+语法+配置文件值注入)+报错提示Spring Boot Configuration Annotation Processor not
-
【Exception】spring boot Configuration Annotation Proessor not found in classpath
-
Spring Boot configuration annotation processor not found in classpath
-
Spring Boot配置 : YAML (简介+语法+配置文件值注入)+报错提示Spring Boot Configuration Annotation Processor not
-
【SpringBoot】报错:spring boot configuration annotation processor not configured