标签:pre creat 目的 自己 自己的 bean efi expressed org
今天在启动微服务项目的时候报错:
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)}
自己的项目是没有报错的。这是怎么回事呢?
原因:
标签:pre creat 目的 自己 自己的 bean efi expressed org
原文地址:https://www.cnblogs.com/dongyaotou/p/12459830.html