问题描述
写了一个配置类,加了注解@ConfigurationProperties(prefix = “xxx”)
后一直报警告:Spring Boot Configuration Annotation Processor not configured
意思是 Spring boot 未配置注解处理器
解决过程
出现这个问题后,百度查了解决方式
1.maven项目
maven项目是添加一个依赖:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
在maven-compiler-plugin内的annotationProcessorPaths中添加相应path
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>

![[Algorithm][动态规划][路径问题][不同路径][不同路径Ⅱ][珠宝的最高价值]详细讲解](https://img-blog.csdnimg.cn/direct/ec3c5fa9e1ed4768818e45f6a98c52ec.png)













![【代码随想录】【算法训练营】【第15天】 [102]二叉树的层序遍历 [226]翻转二叉树 [101]对称二叉树](https://img-blog.csdnimg.cn/direct/1e2d24fbea6f44c98e9b74bb35aa1d24.png)



