druid DruidDataSourceTestCase都跑不通,用的mysql

fsi0uk1n  于 2022-10-22  发布在  Druid
关注(0)|答案(3)|浏览(251)

Caused by: org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$DataSourceBeanCreationException: Cannot determine embedded database driver class for database type NONE. If you want an embedded database please put a supported one on the classpath. If you have database settings to be loaded from a particular profile you may need to active it (no profiles are currently active).

6rvt4ljy

6rvt4ljy1#

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure: Invocation of init method failed; nested exception is org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$DataSourceBeanCreationException: Cannot determine embedded database driver class for database type NONE. If you want an embedded database please put a supported one on the classpath. If you have database settings to be loaded from a particular profile you may need to active it (no profiles are currently active).

qq:895219077

zphenhs4

zphenhs42#

@lihengming 看看

2ledvvac

2ledvvac3#

@sxm20074428 不会吧,跑不通的话怎么发的版,你把你修改后的配置文件发出来,我帮你看看吧 ~

相关问题