依赖注入失败, Error creating bean with name 'authUserServiceImpl'
来源:3-6 ——如何使用源代码

慕仔0127457
2017-09-08
Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'authUserServiceImpl': Injection of autowired dependencies failed;
nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.online.college.core.auth.dao.AuthUserDao com.online.college.core.auth.service.impl.AuthUserServiceImpl.entityDao;
nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.online.college.core.auth.dao.AuthUserDao] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency.
Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
貌似找不到接口AuthUserDao的实现类。
恳请帮忙,非常感谢!
1回答
-
祁聪
2017-09-08
应该是ocPortal maven 依赖的ocService没有打成jar包,参考一下群里的eclipse 或者 intellj 导入项目的 word文档,如果还有问题单独qq消息我,可以帮你远程解决
042017-09-10
相似问题