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
Used dependency implementation "com.oracle.substratevm:svm:19.2.0"
Tried building image:
> Task :nativeImage FAILED
Error: Invalid or corrupt jarfile /Users/sbaier/.gradle/caches/modules-2/files-2.1/com.oracle.substratevm/svm-hosted-native-linux-amd64/19.2.0/16d976b1538bfe6d6a47c9acb1f6a47454c38707/svm-hosted-native-linux-amd64-19.2.0.tar.gz
Caused by: java.util.zip.ZipException: zip END header not found
What did you want to happen?
nativeImage to execute as expected
The text was updated successfully, but these errors were encountered:
The cause seems to be pulling in the com.oracle.substratevm:svm dependency. It has the svm archives as a transitive dependency which gradle then pulls into the classpath.
The plugin probably needs to filter out anything that isn't a .jar from the classpath arguments to fix this.
What happened?
Used dependency
implementation "com.oracle.substratevm:svm:19.2.0"
Tried building image:
What did you want to happen?
nativeImage
to execute as expectedThe text was updated successfully, but these errors were encountered: