为啥web.xml加了ContextLoaderListener页面就404了

<context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>/WEB-INF/resource/spring/applicationContext.xml</param-value>
  </context-param> 
  <listener>
    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
  </listener> 

加了上面的listener之后页面就404了,但是springmvc的前端控制器可以正常加载

这是项目结构

图片说明

你不加这个那返回的是啥?加这个404 应该是找不到你请求的地址。看下你的地址映射是否正确哈。