Skip to content

When updating to 6.5, BeanDefinitionParsingException is referring to old versions #17153

Open
@evandongen

Description

@evandongen

Expected Behavior
When I need to update my schema declarations, I'd like to know why. Please update the exception error message to correctly show the conflicting version. Or modify it that you need to use the current version?

Current Behavior
Currently, an exception is triggered when I still use spring-security-6.4.xsd in my configuration:

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 6.5. Please update your schema declarations to the 6.5 schema.

Context
Dependabot updated 6.4.5 to 6.5.0 and this error popped up. Since the message isn't very clear (referring to old versions), I had to check this out locally and fix it.

Metadata

Metadata

Assignees

Labels

in: configAn issue in spring-security-configstatus: ideal-for-contributionAn issue that we actively are looking for someone to help us withtype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions