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

 

mistake:

 

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 

 

 

reason:

 

   The springboot startup class   file cannot be placed directly in the main/java folder, a package must be built to put it in

 

 Solution: Put springboot into the outermost layer of a new package, and put other code into other packages in this package!

 

 Such as:

 

  

 

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326525349&siteId=291194637