阅读背景:

SpringMVC+Spring+Mybatis 环境搭建问题记录(注解开发)

来源:互联网 

Exception:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'itemsController1': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.yrsoft.service.ILoginService com.yrsoft.controller.ItemsController1.service; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loginService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [com.yrsoft.dao.UserDao] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.annotation.Resource(mappedName=, shareable=true, description=, name=, type=class java.lang.Object, lookup=, authenticationType=CONTAINER)}org.springframework.beans.factory.




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: