原文:idea 讀取配置 提示 Spring Boot Configuration Annotation Processor not configured

問題背景: 進行Spring Boot配置文件部署時,發出警告Spring BootConfigurationAnnotation Processor not configured,但是不影響運行 問題解決方案:在pom.xml文件中引入依賴 lt dependency gt lt groupId gt org.springframework.boot lt groupId gt lt artif ...

2022-04-18 19:21 0 920 推薦指數:

查看詳情

Spring Boot Configuration Annotation Processor not found in classpath

今天在自己寫springboot的demo時,想寫一個忽略鑒權的配置,用實體屬性來讀取配置文件中需要忽略鑒權的路徑,存入List<String>中,結果idea給我提示了這么一個警告。 我的配置文件這這樣寫的: 開始沒有在意,直接運行了代碼,結果給我報了注入為null的錯誤 ...

Mon Jan 20 01:19:00 CST 2020 0 1238
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM