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})