SpringBoot Error creating bean with name 'dataSource' defined in class path resource。。。
Posted hellokitty1
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SpringBoot Error creating bean with name 'dataSource' defined in class path resource。。。相关的知识,希望对你有一定的参考价值。
启动spring boot项目出错
解决方法
在Application类上增加:
@EnableAutoConfiguration(exclude=DataSourceAutoConfiguration.class)
即
以上是关于SpringBoot Error creating bean with name 'dataSource' defined in class path resource。。。的主要内容,如果未能解决你的问题,请参考以下文章
Springboot org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean wit
Springboot org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean wit
springboot启动报错 error creating bean with name ‘defaultvalidator‘ defined in class path resource
springboot启动报错:Error creating bean with name 'servletEndpointRegistrar' defined in class pat
springboot启动报错:Error creating bean with name 'servletEndpointRegistrar' defined in class pat
springboot Error creating bean with name "XXX" Unsatisfied dependency expressed through fi