原文:Failed to process import candidates for configuration class [com.simple.....]

主要原因: 是因為自己定制的starter在打包時 package 用了spring boot maven plugin,即在你的定制starter工程的pom.xml中有如下配置: 這樣打出的包,就是按着spring boot的打包方式設定classpath,相對目錄,資源目錄等。 當你用另一個spring boot項目使用這個定制的starter的jar包時。就會有問題 ,因為認為你這個sta ...

2018-07-21 17:19 0 8638 推薦指數:

查看詳情

Failed to process import candidates for configuration class

問題:springboot啟動時報如下錯誤 原因分析: 看到兩個版本號,大概意思就是沖突了。。。,很明顯是Idea不干凈導致的 解決方案 執行 mvn -U idea:idea,重新拉一次ja ...

Mon Apr 04 20:00:00 CST 2022 0 7196
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM