报错信息:
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文件中,如图选择的部分,修改后正常运行。