原文: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