问题描述
出现警告Spring Boot Configuration Annotation Processor not configured,但不影响运行。
解决方案
pom中配置依赖,并刷新pom或Download Sources。
<!--有效防止警告-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<!--有效防止警告-->