Caused by: java.lang.IllegalStateException: Could not evaluate condition on org.

错误:

Caused by: java.lang.IllegalStateException: Could not evaluate condition on org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$EmbeddedDatabaseConfiguration due to org/springframework/jdbc/core/ConnectionCallback not found. Make sure 

原因:

   springboot启动类  文件不能直接放在main/java文件夹下,必须要建一个包把他放进去

 

 解决方案: 把springboot启动放入一个新建的包最外层,其他代码放入这个包内的其他包即可!

 如:

  

 

 

猜你喜欢

转载自chuichuige.iteye.com/blog/2401116