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启动放入一个新建的包最外层,其他代码放入这个包内的其他包即可!

 

 如:

 

  
Caused by: java.lang.IllegalStateException: Could not evaluate condition on org._第1张图片
 

 

 

  • Caused by: java.lang.IllegalStateException: Could not evaluate condition on org._第2张图片
  • 大小: 17.6 KB
  • 查看图片附件

你可能感兴趣的:(springboot,Caused,by:)