问题:Spring Boot Configuration Annotation Processor not configured
解决办法
- 点击右上角:Open Documentation
To use the processor, include a dependency on。
要是用这个处理器processor,需要包含这个依赖:spring-boot-configuration-processor
- pom文件中添加依赖
<!--配置文件处理器-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>