为了账号安全,请及时绑定邮箱和手机立即绑定

Java springMVC注解求解?

Java springMVC注解求解?

healy 2016-07-27 15:09:43
org.springframework.web.servlet.DispatcherServlet  - (Context initialization failed) org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loginController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.mp.CreditApp.service.LoginService com.mp.CreditApp.controller.LoginController.loginService; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.mp.CreditApp.service.LoginService] 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)}
查看完整描述

1 回答

  • 1 回答
  • 1 关注
  • 1280 浏览

添加回答

举报

0/150
提交
取消
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号