http://godo121.iteye.com/blog/1473923
升级后部署运行时发现有错误,一个是在配置文件中没有更改shema的版本号(原来是3.0):
- http://www.springframework.org/schema/security
- http://www.springframework.org/schema/security/spring-security-3.1.xsd
另一个报错是:
- The use of "filters='none'" is no longer supported.
原因是intercept url的配置在新版本不再被支持:
引用
<intercept-url pattern="/public/**/*" filters="none"/>
改为:
引用
<http pattern="/public/**/*" security="none"/>
这里配置就用到了一个新特性,即多个http元素。