Loading

springboot项目启动报错: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})
posted @ 2022-02-14 14:50  DDD-SagerKing  阅读(61)  评论(0编辑  收藏  举报