martmists
06/13/2023, 6:59 PMjava.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at engine.launcher.AppGameProvider.launch(AppGameProvider.kt:102)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at engine.launcher.AppLoader.main(AppLoader.kt:11)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at engine.launcher.AppGameProvider.launch(AppGameProvider.kt:100)
... 2 more
Caused by: java.lang.NoClassDefFoundError: kotlin/jvm/internal/Intrinsics
at engine.runtime.MainKt.main(Main.kt)
... 7 more
Caused by: java.lang.reflect.InvocationTargetException
I tried adding implementation(kotlin("stdlib"))
in my dependencies
block, but even in a shadowJar it fails to find the classes for some reason.
How would I go about solving this?Chris Lee
06/13/2023, 7:52 PMmartmists
06/13/2023, 8:09 PMChris Lee
06/13/2023, 8:10 PM