是用<mvc:interceptors>报错
代码:
<mvc:interceptors> <mvc:interceptor> <mvc:mapping path="/**"/> <mvc:exclude-mapping path="/function"/> <bean class="cn.firstflag.crm.interceptor.LoginInterceptor"/> </mvc:interceptor> </mvc:interceptors>
把http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd改成http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd