您的位置: 首页 > 文章 > 数据源异常(DataSource):'url' attribute is not specified and no embedded datasource could be configured 数据源异常(DataSource):'url' attribute is not specified and no embedded datasource could be configured 分类: 文章 • 2024-04-18 20:55:03 开头瞅着一个DataSource(数据源),后面的我尝试翻译了一下: ‘url’ attribute is not specified and no embedded datasource could be configured '路径’没有规定详细的数据源归属,请配置. 应该是pom.xml文件出问题了: 原来是多了一个不知道是啥的莫名其妙的配置 在这里说一下,这个只能知道是配置里面的数据出了问题,但是每个人的配置不同,因配置而异,我的只能给大家做个参考,总之就一点配置文件(pom.xml)文件中出现了错误的配置,要么没有配置完成,要么就是多了一些杂七杂八的东西