Skip to content

7.0.0-SNAPSHOT BUG - pom files are incorrectly being resolved in classLoader #13983

Closed
@codeconsole

Description

@codeconsole

Bug

.pom files are now incorrectly being resolved in the classLoader and this is breaking resource resolution as there should only be jars

Failed to load manifest entries from jar file '/Users/user/.gradle/caches/modules-2/files-2.1/org.graalvm.js/js-community/24.1.1/3e874f113d724138c39287df69e5cfb7e5fcf700/js-community-24.1.1.pom': java.util.zip.ZipException: zip END header not found

java.util.zip.ZipException: zip END header not found
	at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1649)
	at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1657)
new PathMatchingResourcePatternResolver(grailsApplication.classLoader).getResources("classpath*:messages_*.properties")

Simple Example App (1 line of code + gradle.properties change from forge create-app)
https://github.com/codeconsole/grails-resource-bug

This was broken AFTER the release of M1 as M1 works fine.

Version

7.0.0-SNAPSHOT

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions