spring boot configuration annotation processor not found in classpath

配置有@ConfigurationProperties 注解的类,有如下提示
spring boot configuration annotation processor not found in classpath
pom追加配置如下配置即可
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-configuration-processor</artifactId>
    <optional>true</optional>
</dependency>
原文地址:https://www.cnblogs.com/wanshiming/p/11203067.html