同标题,使用mvc:exclude-mapping时jsp页面报错is not allowed here,楼主马上询问度娘,得到的结果大致有
1:忘记在mvc:exclude-mapping前加上<mvc:mapping path="/**"/>
2:把http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd改成http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd
结果: 楼主将3.0改为3.2后还是显示报错, 最后参考同类型的框架后将pom.xml文件中spring的版本由原来的3.0.0改为4.0.9后不再报错,拦截器放行可以正常使用。