首页 > 其他 > 详细

: No qualifying bean of type 'com.picc.hfms.budget.dao.StListServiceDao' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations:

时间:2020-03-11 01:57:55      阅读:260      评论:0      收藏:0      [点我收藏+]

今天在启动微服务项目的时候报错:

Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘budgetServiceImpl‘: Unsatisfied dependency expressed through field ‘stListServiceDao‘; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type ‘com.picc.hfms.budget.dao.StListServiceDao‘ available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}

自己的项目是没有报错的。这是怎么回事呢?

原因:

技术分享图片

 

: No qualifying bean of type 'com.picc.hfms.budget.dao.StListServiceDao' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations:

原文:https://www.cnblogs.com/dongyaotou/p/12459830.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!