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
Using a non-modding library, in this case "com.theokanning.openai-gpt3-java:[service|client|api]:0.11.0", is not present at runtime, despite being in the dependancy section of the forge and included as forgeRuntimeLibrary
This does not affect the fabric instance.
Expected Result:
Minecraft forge launches w/ no NoClassDefFoundError
Actual Result:
Forge fails to create mod instance.
Error log
java.lang.reflect.InvocationTargetException: null
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?]
at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?]
at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?]
at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:68) ~[javafmllanguage-1.19.2-43.0.8.jar%23202!/:?]
at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$10(ModContainer.java:121) ~[fmlcore-1.19.2-43.0.8.jar%23205!/:?]
at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) [?:?]
at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) [?:?]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) [?:?]
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) [?:?]
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) [?:?]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) [?:?]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) [?:?]
Caused by: java.lang.NoClassDefFoundError: com/theokanning/openai/OpenAiApi
at com.theokanning.openai.service.OpenAiService.buildApi(OpenAiService.java:239) ~[service-0.11.0.jar%23178!/:?]
at com.theokanning.openai.service.OpenAiService.<init>(OpenAiService.java:66) ~[service-0.11.0.jar%23178!/:?]
at com.theokanning.openai.service.OpenAiService.<init>(OpenAiService.java:56) ~[service-0.11.0.jar%23178!/:?]
at net.examplemod.ExampleMod.init(ExampleMod.java:9) ~[16208733036397152962.jar%23209!/:?]
at net.examplemod.forge.ExampleModForge.<init>(ExampleModForge.java:13) ~[%23206!/:?]
... 14 more
Caused by: java.lang.ClassNotFoundException: com.theokanning.openai.OpenAiApi
at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:141) ~[securejarhandler-2.1.4.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
at com.theokanning.openai.service.OpenAiService.buildApi(OpenAiService.java:239) ~[service-0.11.0.jar%23178!/:?]
at com.theokanning.openai.service.OpenAiService.<init>(OpenAiService.java:66) ~[service-0.11.0.jar%23178!/:?]
at com.theokanning.openai.service.OpenAiService.<init>(OpenAiService.java:56) ~[service-0.11.0.jar%23178!/:?]
at net.examplemod.ExampleMod.init(ExampleMod.java:9) ~[16208733036397152962.jar%23209!/:?]
at net.examplemod.forge.ExampleModForge.<init>(ExampleModForge.java:13) ~[%23206!/:?]
... 14 more
Dependencies are present per gradlew :forge:dependencies --configuration=forgeRuntimeLibrary:
Demo Repository
Using a non-modding library, in this case "com.theokanning.openai-gpt3-java:[service|client|api]:0.11.0", is not present at runtime, despite being in the dependancy section of the forge and included as forgeRuntimeLibrary
This does not affect the fabric instance.
Expected Result:
Minecraft forge launches w/ no
NoClassDefFoundError
Actual Result:
Forge fails to create mod instance.
Error log
Dependencies are present per
gradlew :forge:dependencies --configuration=forgeRuntimeLibrary
:Output
The text was updated successfully, but these errors were encountered: