org.springframework.beans.factory.BeanCreationException
2010-07-14 13:53
465 查看
错误:org.springframework.beans.factory.BeanCreationException: Error creating bean with name '/company/list': Injection of resource fields failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.hqhop.hqhopsvc.tech.service.client.CompanyService] is defined: Unsatisfied dependency of type [interface com.hqhop.hqhopsvc.tech.service.client.CompanyService]: expected at least 1 matching bean
解决:
<context:component-scan base-package="com.hqhop.hqhopsvc.tech.bean" /> 没有找到实体bean,包导入问题。
解决:
<context:component-scan base-package="com.hqhop.hqhopsvc.tech.bean" /> 没有找到实体bean,包导入问题。
相关文章推荐
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'u' defined i
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFacto
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'powerAction'
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'selectcommoninfo' defined in ServletCont
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'UserDao' def
- 个人笔记 org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.
- org.springframework.beans.factory.BeanCreationException;Caused by: org.springframework.beans.factory
- 解决org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.spring
- Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating b
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'objectMapper
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userServic
- tomcat启动报错:org.springframework.beans.factory.BeanCreationException
- org.springframework.beans.factory.BeanCreationException
- org.springframework.beans.factory.BeanCreationException(spring注入问题)
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFa
- org.springframework.beans.factory.BeanCreationException
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFacto
- spring-AOP编程出现org.springframework.beans.factory.BeanCreationException
- 报错解决Context initialization failed org.springframework.beans.factory.BeanCreationException