Error creating bean with name 'assetQueryController': Injection of autowired dependencies failed; ne
来源:互联网 发布:大专网络教育学校 编辑:程序博客网 时间:2024/06/05 17:29
启动tomcat出现一下错误:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘assetQueryController’: Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.ffcs.crmd.intf.api.facade.ICrmdToCrmFacade com.ffcs.crmd.asset.control.AssetQueryController.crmdToCrmFacade; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.ffcs.crmd.intf.api.facade.ICrmdToCrmFacade] 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)}
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
百度解释:原因一般是在autowire时,找不到相应的类,上述问题是因为XXXXX的实现类中没有加相应的注解。如dao层 @Repository 如service层 @Service
- Error creating bean with name 'assetQueryController': Injection of autowired dependencies failed; ne
- Error creating bean with name '****': Injection of autowired dependencies failed
- bean依赖注入错误:Error creating bean with name 'itemService': Injection of autowired dependencies failed
- Error creating bean with name 'adminUserController': Injection of autowired dependencies failed;
- Error creating bean with name 'xx': Injection of autowired dependencies failed
- Error creating bean with name 'xxxx': Injection of autowired dependencies failed;
- Error creating bean with name 'empresasDAO': Injection of autowired dependencies failed up vote 0
- Error creating bean with name 'XXX': Injection of autowired dependencies failed解决办法
- Java-4-解决报错:Error creating bean with name 'globalAppObj': Injection of autowired dependencies failed
- 出现:Error creating bean with name 'xxxxxController': Injection of autowired dependencies failed;
- Error creating bean with name '***(类名)': Injection of autowired dependencies failed;
- Error creating bean with name 'userServiceImpl': Injection of autowired dependencies failed
- rror creating bean with name 'adminController': Injection of autowired dependencies failed;
- Error creating bean with name 'com.you.user.dao.StudentDaoTest': Injection of autowired dependencies
- spring问题:Error creating bean with name 'articleController': Injection of autowired dependencies fail
- jboss服务启动时报Error creating bean with name'addressService': Injection of autowired dependencies faile
- Error creating bean with name 'contentTypeAdminController': Injection of autowired dependencies fail
- 【SPRINGMVC】Error creating bean with name 'projectController': Injection of autowired dependencies
- 十一、改变神经网络的学习方法(5):随机梯度下降的变化形式(Adagrad、RMSProp、Adadelta、Momentum、NAG)
- c++之类外定义
- Redis sentinel 哨兵模式
- __cplusplus和extern "C"使用
- 完全平方数
- Error creating bean with name 'assetQueryController': Injection of autowired dependencies failed; ne
- 雅虎前端优化的35条军规
- 【导航】基于Thinkphp开发网站全过程
- LUA函数可变参数数据获取
- Struts2 convention的一点小技巧
- python分数等级实现
- python入门(二十八):面向对象之继承
- TCP状态转换图
- HTML隐藏文本框的四种方式