spring security3.1 不再支持 filters="none" 解决办法

2014-11-24 11:27:40 · 作者: · 浏览: 4

[java]


jsp"/>












[html]















系统报错如下:

org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: The use of "filters='none'" is no longer supported. Please define a separate element for the pattern you want to exclude and use the attribute "security='none'".
Offending resource: class path resource [applicationContext.xml]

后来在网上查资料:


3.1不再支持 filters="none" 应该改成:

[java















[java]