Spring Boot Configuration Annotation Processor not found in claspath

1、问题
bean实体中报错提示Spring Boot Configuration Annotation Processor not found in claspath,如下图:
在这里插入图片描述2、解决方式:
1)点击图中【Open Decumentation】,进入如下图界面,
Spring Boot Configuration Annotation Processor not found in claspath_第1张图片2)把spring-boot-configuration-processor依赖加入到pom.xml文件中

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

Spring Boot Configuration Annotation Processor not found in claspath_第2张图片3)出现,Re-run Spring Boot Configuration Annotation Processor to update generated metadata.重新启动下即可。
在这里插入图片描述

你可能感兴趣的:(springboot)