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。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM