因不读取application.properties 配置信息,导致错误信息:
Description:
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
解决方案:
pom中添加如下配置:
src/main/java
.xml
false
src/main/resources
.xml
false
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)