Open kzvi opened 4 months ago
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.
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.