之前是一直失败报:Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'UserService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field:
还以为是接口问题呢,把web.xml删掉重新放入就好了,尴尬,搞了一天这个玩意,有毒。。。。。。