rror creating bean with name 'adminController': Injection of autowired dependencies failed;
来源:互联网 发布:cnn student news 软件 编辑:程序博客网 时间:2024/05/20 13:04
org.springframework.context.support.AbstractApplicationContext.refresh(487) | Exception encountered during context initialization - cancelling refresh attemptorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.pwc.VisaQuiz.service.CorrectRateService com.pwc.VisaQuiz.controller.AdminController.correctRateService; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.pwc.VisaQuiz.service.CorrectRateService] 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)
报错原因是<p>Service的implement丢失了@Service("CorrectRateService")</p>
0 0
- rror creating bean with name 'adminController': Injection of autowired dependencies failed;
- 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 'assetQueryController': Injection of autowired dependencies failed; ne
- Error creating bean with name 'userServiceImpl': 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
- hdoj2036
- vs2010报错:转换到 COFF 期间失败: 文件无效或损坏 解决方法
- Xpath简单匹配标签内容
- python 字典 dict
- Java集合、反射、内省、注解总结
- rror creating bean with name 'adminController': Injection of autowired dependencies failed;
- 创建和销毁对象
- 欢迎使用CSDN-markdown编辑器
- Android 实现gif动画效果1
- 准备学习二维矢量图像开发库picasso
- Java线程学习(一)
- android评星控件RatingBar
- OS X如何在Safari运行Java applet小程序
- 网络黑客攻防学习平台之基础关第六题