Caused by: java.lang.IllegalStateException: Could not evaluate condition on org.
程序员文章站
2022-07-01 17:06:01
...
错误:
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启动放入一个新建的包最外层,其他代码放入这个包内的其他包即可!
如:
下一篇: java的File类