今天刚建一个springboot项目运行application就报错
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
Reason: Failed to determine a suitable driver class
原因是我加了MyBatis依赖但没有配置连接数据库的一些属性
【解决方案】applicatin.properties中加