springboot项目启动报错Failed to configure a DataSource: 'url' attribute is not specified and no embedde

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
加入exclude = DataSourceAutoConfiguration.class 不再报错
posted @ 2018-11-10 14:48  周佳洪  阅读(8654)  评论(0编辑  收藏  举报