为了账号安全,请及时绑定邮箱和手机立即绑定

AreaDaoTest单元测试报错

1:Caused by: org.springframework.beans.factory.

UnsatisfiedDependencyException: Error creating bean with name 'sessionFactoryConfiguration': Unsatisfied dependency expressed through field 'dataSourse'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'javax.sql.DataSource' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true), @org.springframework.beans.factory.annotation.Qualifier(value=dataSource)}


2:Caused by: org.springframework.beans.factory.

NoSuchBeanDefinitionException: No qualifying bean of type 'javax.sql.DataSource' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true), @org.springframework.beans.factory.annotation.Qualifier(value=dataSource)}


正在回答

1 回答

请问解决了吗

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

AreaDaoTest单元测试报错

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信