标题:Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} web.xml中加入监听器 <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener>