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

Today, when you start a micro services of error:

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)}

His project is not being given. This is how it happened?

the reason:

 

Guess you like

Origin www.cnblogs.com/dongyaotou/p/12459830.html