-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fabric Loader tries to read a .pom file as a zip file #958
Comments
This is unlikely an issue with loader, you should not have a none zip file on the classpath. Im not sure why this is happening tbh. |
What do you mean by "none"? |
A non-jar/zip, I am not sure whether these files are supported by the class path normally. We don't support them at the moment. |
I had the same problem when I tried to use GraalPy on Fabric Loader, but I found that I can exclude the transitive dependency that causes the problem, using something like this: implementation("org.graalvm.polyglot:python:24.0.2") {
exclude(group = "org.graalvm.polyglot", module = "python-community")
} With TruffleRuby it should be something similar. |
After investigating it looks like URLClassLoader silently ignores non-zip/dir class path entries, I'll probably adjust everything to do the same or log a warning. |
If I use the mod template generator to make a new mod for minecraft 1.21 with the default settings, and then add
to the
dependencies
section ofbuild.gradle
, and then run./gradlew runClient
, the following error is generated at runtime:which seems to imply that
LibClassifier
is trying to read.pom
file as if it were a zip or jar file.The text was updated successfully, but these errors were encountered: