-
无数据源
前期测试的时候没有配置数据源,就会报数据源找不到的错误
***************************
APPLICATION FAILED TO START
***************************
Description:
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
解决方案
启动注解上加上去除数据源
@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})
网友评论