The use of "filters='none'" is no longer supported

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'".

上边是错误信息,按照信息中的提示建立一个独立的(以前的版本是在中)然后在其中定义pattern并且security=”none”就可以了。

<http request-matcher="regex" pattern="(/login){1}/?\S*$" security="none" />
    原文作者:since1986
    原文地址: https://segmentfault.com/a/1190000000768370
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞