In this case, the problem actually lies with MinecraftForge, not necessarily due to a bug but actually due to a protection that Forge implemented.įorge has full control over loading the classes of a mod and it specifically checks the package information of every class it loads against a set of restricted package paths to protect its own dependencies from accidentally being overwritten by loading a different version of a similar dependency. I'm assuming at this point that it is a general Java error.Īnyways, the error: : org/apache/http/nio/reactor/IOReactorExceptionĪt .HttpClientHelper.prepareRequest(HttpClientHelper.java:151)Īt .HttpClientHelper.request(HttpClientHelper.java:131)Īt .BaseRequest.asString(BaseRequest.java:56)Īt .Requester.toObject(Requester.java:100)Īt .Requester.post(Requester.java:55)Īt .(JDAImpl.java:152)Īt .buildAsync(JDABuilder.java:272)Īt .buildBlocking(JDABuilder.java:307)Īt .nnect(GuiLogin.java:168)Īt .GuiLogin.func_146284_a(GuiLogin.java:143)Īt .GuiScreen.func_73864_a(GuiScreen.java:466)Īt .GuiLogin.func_73864_a(GuiLogin.java:128)Īt .GuiScreen.func_146274_d(GuiScreen.java:554)Īt .GuiScreen.func_146269_k(GuiScreen.java:523)Īt .func_71407_l(Minecraft.java:1674)Īt .func_71411_J(Minecraft.java:1024)Īt .func_99999_d(Minecraft.java:349)Īt .Main.main(SourceFile:124)Īt 0(Native Method)Īt (NativeMethodAccessorImpl.java:62)Īt (DelegatingMethodAccessorImpl.java:43)Īt .invoke(Method.java:497)Īt .launch(Launch.java:135)Īt .main(Launch.java:28)Īt .launchWithMainClass(OneSixLauncher.java:310)Īt .launch(OneSixLauncher.java:395)Īt (EntryPoint.java:170)Īt (EntryPoint.java:54)Ĭaused by: : .reactor.IOReactorExceptionĪt (URLClassLoader.java:381)Īt (ClassLoader.java:424)Īt $AppClassLoader.loadClass(Launcher.java:331)Īt (ClassLoader.java:357)Īt .findClass(LaunchClassLoader.java:106) ![]() I had a few people check my adle to make sure it was correct, and it is. Then, using gradlew and compiling it, I get an error when I try running it (in Minecraft). In the IDE, I can add the JDA with dependencies just fine and get no errors in my code. ![]() I am creating a (Minecraft) Forge mod that uses the (unofficial) Discord API, JDA.
0 Comments
Leave a Reply. |