You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Caused by: java.util.zip.ZipException: duplicate entry: module-info.class
at java_util_jar_JarOutputStream$putNextEntry.call(Unknown Source)
at io.izzel.taboolib.gradle.RelocateJar$_relocate_closure2$_closure8$_closure9$_closure10.doCall(RelocateJar.groovy:65)
at jdk.internal.reflect.GeneratedMethodAccessor519.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at jdk.internal.reflect.GeneratedMethodAccessor517.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at io.izzel.taboolib.gradle.RelocateJar$_relocate_closure2$_closure8$_closure9.doCall(RelocateJar.groovy:56)
at jdk.internal.reflect.GeneratedMethodAccessor518.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at io.izzel.taboolib.gradle.RelocateJar$_relocate_closure2$_closure8.doCall(RelocateJar.groovy:55)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at jdk.internal.reflect.GeneratedMethodAccessor517.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at io.izzel.taboolib.gradle.RelocateJar$_relocate_closure2.doCall(RelocateJar.groovy:54)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at jdk.internal.reflect.GeneratedMethodAccessor517.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at io.izzel.taboolib.gradle.RelocateJar.relocate(RelocateJar.groovy:51)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:104)
Caused by: java.util.zip.ZipException: duplicate entry: LICENSE.txt
at java_util_jar_JarOutputStream$putNextEntry.call(Unknown Source)
at io.izzel.taboolib.gradle.RelocateJar$_relocate_closure2$_closure8$_closure9$_closure10.doCall(RelocateJar.groovy:67)
at jdk.internal.reflect.GeneratedMethodAccessor837.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at jdk.internal.reflect.GeneratedMethodAccessor145.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at io.izzel.taboolib.gradle.RelocateJar$_relocate_closure2$_closure8$_closure9.doCall(RelocateJar.groovy:55)
at jdk.internal.reflect.GeneratedMethodAccessor836.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at io.izzel.taboolib.gradle.RelocateJar$_relocate_closure2$_closure8.doCall(RelocateJar.groovy:54)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at jdk.internal.reflect.GeneratedMethodAccessor145.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at io.izzel.taboolib.gradle.RelocateJar$_relocate_closure2.doCall(RelocateJar.groovy:53)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at jdk.internal.reflect.GeneratedMethodAccessor145.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at io.izzel.taboolib.gradle.RelocateJar.relocate(RelocateJar.groovy:50)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:104)
当依赖中有相同文件时,会产生ZipException
当重复文件是class文件时
taboolib-gradle-plugin/src/main/groovy/io/izzel/taboolib/gradle/RelocateJar.groovy
Line 64 in a3445b4
这种情况通常是由于依赖错误地将其依赖打包到artifact内,或module-info.class
当重复文件不是class时
taboolib-gradle-plugin/src/main/groovy/io/izzel/taboolib/gradle/RelocateJar.groovy
Line 67 in a3445b4
这种情况下,重复文件一般为LICENSE,NOTICE等
The text was updated successfully, but these errors were encountered: