Skip to content

Clash over META-INF in shaded JARs #316

@juniartisu

Description

@juniartisu

I think this PR #313 cause regression.
I clone master repository so it will contains this PR and then build it and when I run it I got error below:
juni@Nala dist % java -jar jython.jar
Exception in thread "main" java.lang.NoClassDefFoundError: org.python.google.common.collect.MapMaker
at org.python.core.ThreadStateMapping.(ThreadStateMapping.java:31)
at org.python.core.Py.(Py.java:1789)
at org.python.core.PySystemState.(PySystemState.java:80)
at org.python.util.jython.main(jython.java:593)
Caused by: java.lang.ClassNotFoundException: org.python.google.common.collect.MapMaker
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:827)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:1095)
... 4 more

Metadata

Metadata

Assignees

No one assigned

    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