Boot:Spring Boot Configuration Annotation Processor not configured 问题解决

问题背景:

  进行Spring Boot配置文件部署时,发出警告Spring Boot Configuration Annotation Processor not configured,但是不影响运行。

问题解决方案:

在pom.xml文件中引入依赖

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-configuration-processor</artifactId>
    <optional>true</optional>
</dependency>

如果引入的依赖报红,那就下载没有引入的资源,下载完成后点击下刷新即可。

Spring Boot Configuration Annotation Processor not configured 就会消失。

问题分析:

它的意思是“Spring Boot配置注解执行器没有配置”,配置注解执行器的好处是什么。

配置注解执行器配置完成后,当执行类中已经定义了对象和该对象的字段后,在配置文件中对该类赋值时,便会非常方便的弹出提示信息。

原文地址:https://www.cnblogs.com/codingmode/p/15324073.html