IDEA 提示 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。

发布了59 篇原创文章 · 获赞 11 · 访问量 5万+

猜你喜欢

转载自blog.csdn.net/zhangjianming2018/article/details/103209453