Failed to configure a DataSource: ‘url‘ attribute is not specified and no em
解决If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.问题
springboot连接数据库突然不行了,在网上找了好多方法都不行
为了排查原因,尝试把项目的java类一个一个删除重启,删除到最后一个都没有了还是启动不了
最后讲问题定位在application的配置文件中
application原先是用hikari连接数据库的
spring:
datasource:
h
原创
2021-03-30 17:34:00 ·
2845 阅读 ·
0 评论