在类中 使用 @ConfigurationProperties 注解时 报 spring boot Configuration Annotation Proessor not found in classpath
异常;
参考网上的解决方法
在 pom 文件中 添加
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-configuration-processor</artifactId> <optional>true</optional> </dependency>
最后问题解决