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" />

评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论