The use of "filters='none'" is no longer supported
程序员文章站
2022-06-15 15:13:18
...
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: The use of "filters='none'" is no longer supported. Please define a separate <http> element for the pattern you want to exclude and use the attribute "security='none'".
上边是错误信息,按照信息中的提示建立一个独立的<http>(以前的版本是在<intercept-url>中)然后在其中定义pattern并且security="none"就可以了。
<http request-matcher="regex" pattern="(/login){1}/?\S*$" security="none" />
转载于:https://my.oschina.net/since1986/blog/266358
上一篇: PHP字符串内调用函数的方式
下一篇: mysql常用知识点_MySQL