Failed to configure a DataSource: 'url' attribute is not specified and no embedd

原因是

1、pom位置放置错误的原因

当出现项目嵌套时,父项目要加pom ,但是子项目不需要加

2、yml文件不是spring托管,表现为红色图标,不是绿色


转载自:https://segmentfault.com/a/1190000038311162

posted @ 2022-01-11 13:39  Retired-lad  阅读(199)  评论(0)    收藏  举报