顺利宝贝

文章
4
资源
0
加入时间
3年1月17天

配置数据源失败问题描述解决方案报错现象

问题描述配置数据源失败:未指定“url”属性,无法配置嵌入的数据源。原因:未能确定合适的驱动程序级别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解决方案在启动类添加如下注解@SpringBoot