可能是导入的spring版本不一致,版本统一就可以了
szwszww 发布了7 篇原创文章 · 获赞 0 · 访问量 197 私信 关注相关文章
- 10-31constructor注入错误org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean
- 10-31Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name
- 10-31org.springframework.beans.factory.UnsatisfiedDependencyException:Error creating bean with name '
- 10-31org.springframework.beans.factory.BeanCreationException...
- 10-31org.springframework.beans.factory.BeanCreationException
- 10-31@org.springframework.beans.factory.annotation.Autowired(required=true)
- 10-31spring问题org.springframework.beans.factory.CannotLoadBeanClassException
- 10-31Error creating bean with name 'student': Unsatisfied dependency expressed through field 'teacher'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating
- 10-31org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'testService' is defined
- 10-31org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'sessionFactory' is defined