springboot报错Failed to configure a DataSource url attribute is not specified and no embedd
Failed to configure a DataSource: ‘url’ attribute is not specified and no embedded datasource could be configured.在初步搭建springboot应用,因为没有进行数据库配置,如地址值,数据库驱动,用户名,密码等,常常会出现上述错误,表示是无法配置DataSource:未指定‘URL’属性,无法配置嵌入数据源。
Springboot最大的一个好处就是自动配置,所以我们只需要配置相关属性的值,它就会
原创
2020-06-10 13:14:59 ·
343 阅读 ·
0 评论