1、首先要添加這個配置,並等待依賴更新完成。
2、如果出現:Re-run spring boot configuration annotation processor to update generate metadata。
忽略即可。大不了你重新編輯下。再大不了你重啟下IDEA。
2、如果出現:Re-run spring boot configuration annotation processor to update generate metadata。
忽略即可。大不了你重新編輯下。再大不了你重啟下IDEA。
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。
在pom.xml導入依賴
<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-configuration-processor</artifactId><optional>true</optional></dependency>