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
104 声望1 粉丝

爱编程、爱旅行、爱家人~