Skip to content

Import of XML resources with 'classpath*:' URLs doesn't work [SPR-6379] #11046

@spring-projects-issues

Description

@spring-projects-issues

Radim Tlusty opened SPR-6379 and commented

it's probably related to #10432.

I think, that the issue is in DefaultBeanDefinitionDocumentReader class. In 3.0.0.RC1 there was used call 'ResourcePatternUtils.isUrl(location)', in 3.0.0.RC2 it's changed and I think, that it's related to this correction.

When the classes are unpacked, it leads to transformation of classpath* URL to file URL, which causes the problem.

Attach is simple test case, which works in 3.0.0.RC1, but fail on 3.0.0.RC2.


Affects: 3.0 RC2

Attachments:

Issue Links:

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues in core modules (aop, beans, core, context, expression)status: duplicateA duplicate of another issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions