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

107 阅读1分钟

记录:

原因一:项目新搭建的时候,引入了mybatis等框架,但是没有在yml等配置文件中配置链接,所以导致报错。

解决:1.删掉mybatis等框架的引用,2.配置数据库链接