Spring Boot - Error creating bean with name 'dataSource' defined in class path resource

时间:2018-01-28 16:12:50   收藏:0   阅读:2844

看起来像最初的问题是与自动配置。

如果你不需要数据源,只需从自动配置过程中删除它:

@EnableAutoConfiguration(exclude={DataSourceAutoConfiguration.class})

 



原文:https://www.cnblogs.com/valu/p/8371296.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!