记录‘url‘ attribute is not specified and no embedded datasource could解决过程
运行自己写的Demo项目时,出现如下图的问题:
Failed to configure a DataSource: ‘url’ attribute is not specified and no embedded datasource could be configured.
Reason: Failed to determine a suitable driver class
分析过程:Demo中有用到 log4j2日志,这里却还是打印出Spring Boot的默认日志,而且编译生成的target文件
原创
2021-07-15 00:41:34 ·
1045 阅读 ·
0 评论