设为首页 加入收藏

TOP

springboot启动报:Error creating bean with name 'dataSource' defined in class path resource
2019-09-17 16:19:10 】 浏览:28
Tags:springboot 启动 Error creating bean with name ' dataSource' defined class path resource
需要在启动类的@EnableAutoConfiguration或@SpringBootApplication中添加exclude = {DataSourceAutoConfiguration.class},排除此类的autoconfig。启动以后就可以正常运行。 
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇Log4j2源码分析系列:(一)配置.. 下一篇计算1!+3!+5!+.......+n! 其中..

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目