ssh框架编程中,由于配置文件内容错误,导致报错StandardWrapper.Throwable org.springframework.beans.factory.UnsatisfiedDepen

报错信息:

StandardWrapper.Throwable

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userController': Unsatisfied dependency expressed through field 'userService'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.aqd.service.user.UserService' available: expected at least 1 bean amework.beans.factory.support.AbstractAutowireCapableBeanFactory.p....

检查发现是由于配置文件的内容写错了,包名忘了改了。。

在applicationContext.xml文件中,如图选择的部分,修改后正常运行。

ssh框架编程中,由于配置文件内容错误,导致报错StandardWrapper.Throwable org.springframework.beans.factory.UnsatisfiedDepen_第1张图片

你可能感兴趣的:(ssh框架编程中,由于配置文件内容错误,导致报错StandardWrapper.Throwable org.springframework.beans.factory.UnsatisfiedDepen)