Skip to content

PathMatchingResourcePatternResolver failing against non-jar file in classpath #34417

Closed
@finn0s

Description

@finn0s

Since version 6.2.0-RC3 / #33705 the PathMatchingResourcePatternResolver throws an java.util.zip.ZipException: zip file is empty Exception when a none jar file is in the classpath.
I use IntelliJ to Build with maven, and IntelliJ adds a .license file to the class path. There is already an issue in IntelliJ Youtrack opend 2021.
https://youtrack.jetbrains.com/issue/IDEA-262695/Maven-plexus-classworlds.license-is-added-to-classpath-breaks-Mwe2

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: regressionA bug that is also a regression

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions