spring boot configuration annotation processor not found in classpath

spring boot configuration annotation processor not found in classpath

在pom.xml导入依赖

<dependency>

  <groupId>org.springframework.boot</groupId>

  <artifactId>spring-boot-configuration-processor</artifactId>

  <optional>true</optional>

</dependency>


1、首先要添加这个配置,并等待依赖更新完成。

2、如果出现:Re-run spring boot configuration annotation processor to update generate metadata。

忽略即可。大不了你重新编辑下。再大不了你重启下IDEA。

猜你喜欢

转载自blog.csdn.net/zhufengyan521521/article/details/83588183