spring boot configuration annotation processor not configured
程序员文章站
2022-03-02 08:11:05
...
1、问题原因
在使用@ConfigurationProperties(prefix = “”) 注解的是时候idea 会提示这个错误 !
2、问题解决
在pom.xml 加上就好了
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
推荐阅读
-
解决spring boot1.5以上版本@ConfigurationProperties提示“Spring Boot Configuration Annotation Processor not.."
-
Spring Boot报错:No session repository could be auto-configured, check your configuration的解决方法
-
Spring Boot报错:No session repository could be auto-configured, check your configuration的解决方法
-
Spring Boot configuration annotation processor not found in classpath
-
Spring Boot配置 : YAML (简介+语法+配置文件值注入)+报错提示Spring Boot Configuration Annotation Processor not
-
spring-boot-1.5.1-disable-auto-configuration
-
Spring Boot Configuration 配置文件读取以及自定义配置文件
-
【Exception】spring boot Configuration Annotation Proessor not found in classpath
-
spring boot org.springframework.context.annotation.ConflictingBeanDefinitionException
-
Spring Boot configuration annotation processor not found in classpath