BUG:Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
解决:忘记写spring监听器,导致注入失败
<!-- spring监听器 -->
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>