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
I built the the current version using gradle build.
I can't directly run the jar.
chibill@jwg1:/data_pool/Minecraft/MinecraftMappings/build/libs$ java -jar mapping-generator-1.0-SNAPSHOT.jar
no main manifest attribute, in mapping-generator-1.0-SNAPSHOT.jar
And when I try to run it another way I get an error about Kotlins libraries missing.
chibill@jwg1:/data_pool/Minecraft/MinecraftMappings/build/libs$ java -cp mapping-generator-1.0-SNAPSHOT.jar MainKt
Exception in thread "main" java.lang.NoClassDefFoundError: kotlin/jvm/internal/Intrinsics
at MinecraftVersion.write(version.kt)
at MainKt.main(main.kt:17)
at MainKt.main(main.kt)
Caused by: java.lang.ClassNotFoundException: kotlin.jvm.internal.Intrinsics
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:602)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 3 more
I think this is due to the jar only containing the compile kotlin and none of the libraries require to run it. Any suggestions on how to execute it?
The text was updated successfully, but these errors were encountered:
pisaiah
referenced
this issue
in CardboardPowered/MinecraftMappings
Oct 8, 2020
I built the the current version using gradle build.
I can't directly run the jar.
And when I try to run it another way I get an error about Kotlins libraries missing.
I think this is due to the jar only containing the compile kotlin and none of the libraries require to run it. Any suggestions on how to execute it?
The text was updated successfully, but these errors were encountered: