spring boot configuration annotation processor not found in classpath
程序员文章站
2022-03-24 12:37:24
...
(1)在pom.xml配置文件中加入下面的代码:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
(2)如果出现:Re-run spring boot configuration annotation processor to update generate metadata的提示忽略他。
(3)IDEA会弹出来更新:右下角:improt change 点击它。
(4)如果这样还不行,记得在Model里,把 Setter和Getter都添加上去。这样一定没问题了。
推荐阅读
-
解决spring-boot-configuration-processor导入之后,任没有提示问题
-
解决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
-
解决IDEA中spring boot Configuration Annotation Processor not configured报红
-
使用@ConfigurationProperties注解,Spring Boot Configuration Annotation Processor not configured爆红