You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
BeanDefinitionParsingException when using spring-security-5.6.xsd with Spring Security 5.7
Caused by: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: You cannot use a spring-security-2.0.xsd or spring-security-3.0.xsd or spring-security-3.1.xsd schema or spring-security-3.2.xsd schema or spring-security-4.0.xsd schema with Spring Security 5.7. Please update your schema declarations to the 5.7 schema.
Offending resource: class path resource [web-security.xml]
BeanDefinitionParsingException when using spring-security-5.6.xsd with Spring Security 5.7
If you're using Spring Security 5.7 then you should point to spring-security-5.7.xsd. The error caused by pointing to spring-security-5.6.xsd may be related to attributes/elements added in 5.7 that the BeanDefinitionParser is expecting.
Describe the bug
BeanDefinitionParsingException when using spring-security-5.6.xsd with Spring Security 5.7
Related to #8974 ?
To Reproduce
XML Bean Definition with header
Tried with 5.6 and 5.7 - and on Jetty (with Internet access) - it work, but not on a Tomcat (relevant?).
Reverting to (omitting the version) seems to help:
Note that there is (as of June 3rd) no 5.7 here:
http://www.springframework.org/schema/security/
Expected behavior
Expecting a correct error message or no error.
Sample
Cannot provide a sample - sorry.
The text was updated successfully, but these errors were encountered: