springboot启动报:Error creating bean with name 'dataSource' defined in class path resource

  如果在SpringBootApplication后加 exclude = {DataSourceAutoConfiguration.class}后,启动仍然报错,那就是pom中引入了druid数据源依赖。

posted @ 2021-07-23 15:54  suuo  阅读(1296)  评论(0)    收藏  举报