Posted June 8, 20196 yr Hello, I am using a Discord Library in my mod and everything is working fine while using the gradle launch functions. However after building the mod and putting it in the mod directory the library stops working as it cannot find it's dependencies. This is the log of the forge server: Spoiler [23:29:42] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker [23:29:42] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker [23:29:42] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLServerTweaker [23:29:42] [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2838 for Minecraft 1.12.2 loading [23:29:42] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_211, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_211 [23:29:42] [main/INFO] [FML]: Searching C:\Users\Andreas\Desktop\test\.\mods for mods [23:29:42] [main/INFO] [FML]: Searching C:\Users\Andreas\Desktop\test\.\mods\1.12.2 for mods [23:29:42] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [23:29:42] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [23:29:42] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [23:29:42] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [23:29:42] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [23:29:44] [main/INFO] [FML]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557 [23:29:44] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [23:29:44] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [23:29:45] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker [23:29:45] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker [23:29:46] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.server.MinecraftServer} [23:29:52] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Starting minecraft server version 1.12.2 [23:29:52] [Server thread/INFO] [FML]: MinecraftForge v14.23.5.2838 Initialized [23:29:52] [Server console handler/ERROR] [net.minecraft.server.dedicated.DedicatedServer]: Exception handling console input java.io.IOException: Das Handle ist ungültig at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_211] at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_211] at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_211] at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_211] at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_211] at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_211] at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_211] at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_211] at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_211] at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_211] at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_211] at net.minecraft.server.dedicated.DedicatedServer$2.run(DedicatedServer.java:105) [nz$2.class:?] [23:29:52] [Server thread/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients. [23:29:53] [Server thread/INFO] [FML]: Invalid recipe found with multiple oredict ingredients in the same ingredient... [23:29:53] [Server thread/INFO] [FML]: Replaced 1227 ore ingredients [23:29:53] [Server thread/INFO] [FML]: Searching C:\Users\Andreas\Desktop\test\.\mods for mods [23:29:53] [Server thread/INFO] [FML]: Searching C:\Users\Andreas\Desktop\test\.\mods\1.12.2 for mods [23:29:55] [Server thread/INFO] [FML]: Forge Mod Loader has identified 5 mods to load [23:29:55] [Server thread/WARN] [FML]: Missing English translation for FML: assets/fml/lang/en_us.lang [23:29:55] [Server thread/INFO] [FML]: FML has found a non-mod file JDA-3.8.3_463.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible. [23:29:55] [Server thread/INFO] [STDERR]: [org.slf4j.helpers.Util:report:128]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". [23:29:55] [Server thread/INFO] [STDERR]: [org.slf4j.helpers.Util:report:128]: SLF4J: Defaulting to no-operation (NOP) logger implementation [23:29:55] [Server thread/INFO] [STDERR]: [org.slf4j.helpers.Util:report:128]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. [23:29:55] [Server thread/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, minebot] at CLIENT [23:29:55] [Server thread/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, minebot] at SERVER [23:29:56] [Server thread/INFO] [FML]: Processing ObjectHolder annotations [23:29:56] [Server thread/INFO] [FML]: Found 1171 ObjectHolder annotations [23:29:56] [Server thread/INFO] [FML]: Identifying ItemStackHolder annotations [23:29:56] [Server thread/INFO] [FML]: Found 0 ItemStackHolder annotations [23:29:56] [Server thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [23:29:56] [Server thread/INFO] [minebot]: Minebot pre-initialization [23:29:56] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json [23:29:56] [Server thread/INFO] [minebot]: Hallo! [23:29:56] [Server thread/INFO] [FML]: Applying holder lookups [23:29:56] [Server thread/INFO] [FML]: Holder lookups applied [23:29:56] [Server thread/INFO] [FML]: Applying holder lookups [23:29:56] [Server thread/INFO] [FML]: Holder lookups applied [23:29:56] [Server thread/INFO] [FML]: Applying holder lookups [23:29:56] [Server thread/INFO] [FML]: Holder lookups applied [23:29:56] [Server thread/INFO] [FML]: Applying holder lookups [23:29:56] [Server thread/INFO] [FML]: Holder lookups applied [23:29:56] [Server thread/INFO] [FML]: Injecting itemstacks [23:29:56] [Server thread/INFO] [FML]: Itemstack injection complete [23:29:56] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Loading properties [23:29:56] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Default game type: SURVIVAL [23:29:56] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Generating keypair [23:29:56] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Starting Minecraft server on *:25565 [23:29:57] [Server thread/INFO] [net.minecraft.network.NetworkSystem]: Using default channel type [23:29:57] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Found status: AHEAD Target: null [23:29:59] [Server thread/INFO] [FML]: Applying holder lookups [23:29:59] [Server thread/INFO] [FML]: Holder lookups applied [23:30:00] [Server thread/INFO] [FML]: Injecting itemstacks [23:30:00] [Server thread/INFO] [FML]: Itemstack injection complete [23:30:00] [Server thread/INFO] [minebot]: Minebot is done! [23:30:00] [Server thread/INFO] [FML]: Forge Mod Loader has successfully loaded 5 mods [23:30:00] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Preparing level "world" [23:30:00] [Server thread/INFO] [FML]: Injecting existing registry data into this server instance [23:30:00] [Server thread/INFO] [FML]: Applying holder lookups [23:30:00] [Server thread/INFO] [FML]: Holder lookups applied [23:30:00] [Server thread/INFO] [FML]: Loading dimension 0 (world) (net.minecraft.server.dedicated.DedicatedServer@175eb1d5) [23:30:02] [Server thread/INFO] [net.minecraft.advancements.AdvancementList]: Loaded 488 advancements [23:30:02] [Server thread/INFO] [FML]: Loading dimension -1 (world) (net.minecraft.server.dedicated.DedicatedServer@175eb1d5) [23:30:02] [Server thread/INFO] [FML]: Loading dimension 1 (world) (net.minecraft.server.dedicated.DedicatedServer@175eb1d5) [23:30:02] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Preparing start region for level 0 [23:30:03] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Preparing spawn area: 8% [23:30:04] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Preparing spawn area: 85% [23:30:04] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Done (4,198s)! For help, type "help" or "?" [23:30:04] [Server thread/ERROR] [net.minecraft.server.MinecraftServer]: Encountered an unexpected exception net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Minebot (minebot) Caused by: java.lang.NoClassDefFoundError: org/apache/commons/collections4/map/CaseInsensitiveMap at net.dv8tion.jda.core.utils.JDALogger.<clinit>(JDALogger.java:57) ~[JDALogger.class:3.8.3_463] at net.dv8tion.jda.core.entities.EntityBuilder.<clinit>(EntityBuilder.java:60) ~[EntityBuilder.class:3.8.3_463] at net.dv8tion.jda.core.EmbedBuilder.build(EmbedBuilder.java:119) ~[EmbedBuilder.class:3.8.3_463] at mod.minebot.MINEBOT.serverStarting(MINEBOT.java:86) ~[MINEBOT.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_211] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_211] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_211] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_211] at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:637) ~[forge-1.12.2-14.23.5.2838-universal.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_211] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_211] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_211] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_211] at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) ~[minecraft_server.1.12.2.jar:?] at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) ~[minecraft_server.1.12.2.jar:?] at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) ~[minecraft_server.1.12.2.jar:?] at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) ~[minecraft_server.1.12.2.jar:?] at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) ~[minecraft_server.1.12.2.jar:?] at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) ~[minecraft_server.1.12.2.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:217) ~[minecraft_server.1.12.2.jar:?] at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219) ~[forge-1.12.2-14.23.5.2838-universal.jar:?] at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197) ~[forge-1.12.2-14.23.5.2838-universal.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_211] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_211] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_211] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_211] at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) ~[minecraft_server.1.12.2.jar:?] at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) ~[minecraft_server.1.12.2.jar:?] at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) ~[minecraft_server.1.12.2.jar:?] at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) ~[minecraft_server.1.12.2.jar:?] at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) ~[minecraft_server.1.12.2.jar:?] at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) ~[minecraft_server.1.12.2.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:217) ~[minecraft_server.1.12.2.jar:?] at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:136) ~[LoadController.class:?] at net.minecraftforge.fml.common.Loader.serverStarting(Loader.java:792) ~[Loader.class:?] at net.minecraftforge.fml.common.FMLCommonHandler.handleServerStarting(FMLCommonHandler.java:297) ~[FMLCommonHandler.class:?] at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:307) ~[nz.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486) [MinecraftServer.class:?] at java.lang.Thread.run(Unknown Source) [?:1.8.0_211] Caused by: java.lang.ClassNotFoundException: org.apache.commons.collections4.map.CaseInsensitiveMap at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_211] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_211] at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) ~[?:1.8.0_211] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_211] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:106) ~[launchwrapper-1.12.jar:?] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_211] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_211] at net.dv8tion.jda.core.utils.JDALogger.<clinit>(JDALogger.java:57) ~[JDALogger.class:3.8.3_463] at net.dv8tion.jda.core.entities.EntityBuilder.<clinit>(EntityBuilder.java:60) ~[EntityBuilder.class:3.8.3_463] at net.dv8tion.jda.core.EmbedBuilder.build(EmbedBuilder.java:119) ~[EmbedBuilder.class:3.8.3_463] at mod.minebot.MINEBOT.serverStarting(MINEBOT.java:86) ~[MINEBOT.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_211] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_211] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_211] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_211] at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:637) ~[forge-1.12.2-14.23.5.2838-universal.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_211] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_211] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_211] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_211] at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) ~[minecraft_server.1.12.2.jar:?] at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) ~[minecraft_server.1.12.2.jar:?] at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) ~[minecraft_server.1.12.2.jar:?] at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) ~[minecraft_server.1.12.2.jar:?] at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) ~[minecraft_server.1.12.2.jar:?] at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) ~[minecraft_server.1.12.2.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:217) ~[minecraft_server.1.12.2.jar:?] at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219) ~[forge-1.12.2-14.23.5.2838-universal.jar:?] at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197) ~[forge-1.12.2-14.23.5.2838-universal.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_211] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_211] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_211] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_211] at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) ~[minecraft_server.1.12.2.jar:?] at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) ~[minecraft_server.1.12.2.jar:?] at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) ~[minecraft_server.1.12.2.jar:?] at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) ~[minecraft_server.1.12.2.jar:?] at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) ~[minecraft_server.1.12.2.jar:?] at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) ~[minecraft_server.1.12.2.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:217) ~[minecraft_server.1.12.2.jar:?] at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:136) ~[LoadController.class:?] at net.minecraftforge.fml.common.Loader.serverStarting(Loader.java:792) ~[Loader.class:?] at net.minecraftforge.fml.common.FMLCommonHandler.handleServerStarting(FMLCommonHandler.java:297) ~[FMLCommonHandler.class:?] at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:307) ~[nz.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486) ~[MinecraftServer.class:?] at java.lang.Thread.run(Unknown Source) ~[?:1.8.0_211] [23:30:04] [Server thread/ERROR] [net.minecraft.server.MinecraftServer]: This crash report has been saved to: C:\Users\Andreas\Desktop\test\.\crash-reports\crash-2019-06-08_23.30.04-server.txt [23:30:04] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Stopping server [23:30:04] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Saving players [23:30:04] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Saving worlds [23:30:04] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Saving chunks for level 'world'/overworld [23:30:04] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Saving chunks for level 'world'/the_nether [23:30:04] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Saving chunks for level 'world'/the_end [23:30:05] [Server thread/INFO] [FML]: Unloading dimension 0 [23:30:05] [Server thread/INFO] [FML]: Unloading dimension -1 [23:30:05] [Server thread/INFO] [FML]: Unloading dimension 1 [23:30:05] [Server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STARTING and forced into state SERVER_STOPPED. Errors may have been discarded. [23:30:05] [Server Shutdown Thread/INFO] [net.minecraft.server.MinecraftServer]: Stopping server [23:30:05] [Server Shutdown Thread/INFO] [net.minecraft.server.MinecraftServer]: Saving players [23:30:05] [Server Shutdown Thread/INFO] [net.minecraft.server.MinecraftServer]: Saving worlds This is the crash report: Spoiler ---- Minecraft Crash Report ---- // I just don't know what went wrong :( Time: 08.06.19 23:30 Description: Exception in server tick loop net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Minebot (minebot) Caused by: java.lang.NoClassDefFoundError: org/apache/commons/collections4/map/CaseInsensitiveMap at net.dv8tion.jda.core.utils.JDALogger.<clinit>(JDALogger.java:57) at net.dv8tion.jda.core.entities.EntityBuilder.<clinit>(EntityBuilder.java:60) at net.dv8tion.jda.core.EmbedBuilder.build(EmbedBuilder.java:119) at mod.minebot.MINEBOT.serverStarting(MINEBOT.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:637) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) at com.google.common.eventbus.EventBus.post(EventBus.java:217) at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) at com.google.common.eventbus.EventBus.post(EventBus.java:217) at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:136) at net.minecraftforge.fml.common.Loader.serverStarting(Loader.java:792) at net.minecraftforge.fml.common.FMLCommonHandler.handleServerStarting(FMLCommonHandler.java:297) at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:307) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: org.apache.commons.collections4.map.CaseInsensitiveMap at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:106) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 39 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.12.2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_211, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 723988920 bytes (690 MB) / 951058432 bytes (907 MB) up to 5712117760 bytes (5447 MB) JVM Flags: 0 total; IntCache: cache: 0, tcache: 4, allocated: 20, tallocated: 86 FML: MCP 9.42 Powered by Forge 14.23.5.2838 5 mods loaded, 5 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored | State | ID | Version | Source | Signature | |:------- |:--------- |:------------ |:--------------------------------------- |:---------------------------------------- | | LCHIJA | minecraft | 1.12.2 | minecraft.jar | None | | LCHIJA | mcp | 9.42 | minecraft.jar | None | | LCHIJA | FML | 8.0.99.99 | forge-1.12.2-14.23.5.2838-universal.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 | | LCHIJA | forge | 14.23.5.2838 | forge-1.12.2-14.23.5.2838-universal.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 | | LCHIJAE | minebot | 1.0 | minebot-1.0.jar | None | Loaded coremods (and transformers): Profiler Position: N/A (disabled) Player Count: 0 / 20; [] Is Modded: Definitely; Server brand changed to 'fml,forge' Type: Dedicated Server (map_server.txt) This is the Github repository for the mod:https://github.com/GloriousAlpaca/Minecraft-Discordbot Thank you for your help! Edited June 9, 20196 yr by GloriousAlpaca
June 9, 20196 yr Author I should add that the Library itself contains other dependencies and those are the ones that are not found on runtime.
June 9, 20196 yr Author 6 minutes ago, diesieben07 said: If the library jar files do not have a Maven-Artifact entry in their own manifest, you need to provide it manually as described in the documentation. Well I have tried to seperately download the libraries and put them in my own mod as described in the docs but that still did not work. The Libraries themselves no longer contain any other Libraries.
June 9, 20196 yr Author 6 minutes ago, diesieben07 said: No. You should do all steps that are required for building your mod using build.gradle (aka. just running gradle build should always produce a working version of your mod without any further steps needed, this is the point of gradle). This also means, by the way, that you should use maven central to refer to your dependencies instead of local jars (which one would have to download manually to build your mod). In this case however you can just put the required files into src/main/resources, like any other resources. How can I define the maven artifacts with gradle ?
June 9, 20196 yr Author 1 minute ago, GloriousAlpaca said: How can I define the maven artifacts with gradle ? and what should the manifest look like after adding the artifact ?
June 9, 20196 yr Author 15 minutes ago, diesieben07 said: No. You should do all steps that are required for building your mod using build.gradle (aka. just running gradle build should always produce a working version of your mod without any further steps needed, this is the point of gradle). This also means, by the way, that you should use maven central to refer to your dependencies instead of local jars (which one would have to download manually to build your mod). In this case however you can just put the required files into src/main/resources, like any other resources. I tried installing the library by using this: dependencies { implementation("net.dv8tion:JDA:3.8.3_463:withDependencies") } as is specified on their github page here: https://github.com/DV8FromTheWorld/JDA/releases/tag/v3.8.3 However I get the Error: This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril. FAILURE: Build failed with an exception. * Where: Build file 'C:\git\Minecraft-Discord-Bot\build.gradle' line: 43 * What went wrong: A problem occurred evaluating root project 'Minecraft-Discord-Bot'. > Could not find method implementation() for arguments [net.dv8tion:JDA:3.8.3_463:withDependencies] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 20.249 secs
June 9, 20196 yr Author This is what my build.gradle looks like now: Spoiler buildscript { repositories { jcenter() maven { url = "https://files.minecraftforge.net/maven" } } dependencies { classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT' } } apply plugin: 'net.minecraftforge.gradle.forge' //Only edit below this line, the above code adds and enables the necessary things for Forge to be setup. version = "1.0" group = "mod.minebot" // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = "minebot" sourceCompatibility = targetCompatibility = '1.8' // Need this here so eclipse task generates correctly. compileJava { sourceCompatibility = targetCompatibility = '1.8' } minecraft { version = "1.12.2-14.23.5.2838" runDir = "run" // the mappings can be changed at any time, and must be in the following format. // snapshot_YYYYMMDD snapshot are built nightly. // stable_# stables are built at the discretion of the MCP team. // Use non-default mappings at your own risk. they may not always work. // simply re-run your setup task after changing the mappings to update your workspace. mappings = "snapshot_20171003" // makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable. } configurations { inJar } configurations.compile.extendsFrom(configurations.inJar) repositories { mavenCentral() jcenter() } dependencies { //inJar fileTree(dir: "libs", include: '*.jar') compile ('net.dv8tion:JDA:3.8.3_463') { exclude module: 'opus-java' } compile 'org.slf4j:slf4j-api:1.7.26' compile 'org.slf4j:slf4j-simple:1.7.26' } jar { from(configurations.inJar) { into 'META-INF/libraries' } manifest { attributes( 'ContainedDeps': 'net.dv8tion:JDA:3.8.3_463 org.slf4j:slf4j-api:1.7.26 org.slf4j:slf4j-simple:1.8.0-beta4' ) } } processResources { // this will ensure that this task is redone when the versions change. inputs.property "version", project.version inputs.property "mcversion", project.minecraft.version // replace stuff in mcmod.info, nothing else from(sourceSets.main.resources.srcDirs) { include 'mcmod.info' // replace version and mcversion expand 'version':project.version, 'mcversion':project.minecraft.version } // copy everything else except the mcmod.info from(sourceSets.main.resources.srcDirs) { exclude 'mcmod.info' } } When I build my mod and put it in the mod directory this error occurs: [13:05:40] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker [13:05:40] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker [13:05:40] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLServerTweaker [13:05:40] [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2838 for Minecraft 1.12.2 loading [13:05:40] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_211, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_211 [13:05:40] [main/ERROR] [FML]: Contained Dep is not a jar file: net.dv8tion:JDA:3.8.3_463 [13:05:40] [main/ERROR] [LaunchWrapper]: Unable to launch java.lang.RuntimeException: An error occurred trying to configure the Minecraft home at C:\Users\Andreas\Desktop\test\. for Forge Mod Loader at net.minecraftforge.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:111) ~[forge-1.12.2-14.23.5.2838-universal.jar:?] at net.minecraftforge.fml.relauncher.FMLLaunchHandler.setupServer(FMLLaunchHandler.java:87) ~[forge-1.12.2-14.23.5.2838-universal.jar:?] at net.minecraftforge.fml.relauncher.FMLLaunchHandler.configureForServerLaunch(FMLLaunchHandler.java:47) ~[forge-1.12.2-14.23.5.2838-universal.jar:?] at net.minecraftforge.fml.common.launcher.FMLServerTweaker.injectIntoClassLoader(FMLServerTweaker.java:62) ~[forge-1.12.2-14.23.5.2838-universal.jar:?] at net.minecraft.launchwrapper.Launch.launch(Launch.java:115) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_211] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_211] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_211] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_211] at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70) [forge-1.12.2-14.23.5.2838-universal.jar:?] at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34) [forge-1.12.2-14.23.5.2838-universal.jar:?] Caused by: java.lang.IllegalStateException: Invalid contained dep, Must be jar: net.dv8tion:JDA:3.8.3_463 at net.minecraftforge.fml.relauncher.libraries.LibraryManager.extractPacked(LibraryManager.java:241) ~[forge-1.12.2-14.23.5.2838-universal.jar:?] at net.minecraftforge.fml.relauncher.libraries.LibraryManager.extractPacked(LibraryManager.java:203) ~[forge-1.12.2-14.23.5.2838-universal.jar:?] at net.minecraftforge.fml.relauncher.libraries.LibraryManager.cleanDirectory(LibraryManager.java:169) ~[forge-1.12.2-14.23.5.2838-universal.jar:?] at net.minecraftforge.fml.relauncher.libraries.LibraryManager.setup(LibraryManager.java:97) ~[forge-1.12.2-14.23.5.2838-universal.jar:?] at net.minecraftforge.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:106) ~[forge-1.12.2-14.23.5.2838-universal.jar:?] ... 11 more [13:05:40] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:main:34]: java.lang.reflect.InvocationTargetException [13:05:40] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:main:34]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [13:05:40] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:main:34]: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [13:05:40] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:main:34]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [13:05:40] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:main:34]: at java.lang.reflect.Method.invoke(Unknown Source) [13:05:40] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:main:34]: at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70) [13:05:40] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:main:34]: at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34) [13:05:40] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:75]: Caused by: net.minecraftforge.fml.relauncher.FMLSecurityManager$ExitTrappedException [13:05:40] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:75]: at net.minecraftforge.fml.relauncher.FMLSecurityManager.checkPermission(FMLSecurityManager.java:49) [13:05:40] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:75]: at java.lang.SecurityManager.checkExit(Unknown Source) [13:05:40] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:75]: at java.lang.Runtime.exit(Unknown Source) [13:05:40] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:75]: at java.lang.System.exit(Unknown Source) [13:05:40] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:75]: at net.minecraft.launchwrapper.Launch.launch(Launch.java:138) [13:05:40] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:75]: at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [13:05:40] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:75]: ... 6 more Also I am very sorry but the link you have given me has not helped me define the maven artifacts as I don't really understand it.
June 9, 20196 yr Author Okay I have fixed my build.gradle: Spoiler buildscript { repositories { jcenter() maven { url = "https://files.minecraftforge.net/maven" } } dependencies { classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT' } } apply plugin: 'net.minecraftforge.gradle.forge' //Only edit below this line, the above code adds and enables the necessary things for Forge to be setup. version = "1.0" group = "mod.minebot" // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = "minebot" sourceCompatibility = targetCompatibility = '1.8' // Need this here so eclipse task generates correctly. compileJava { sourceCompatibility = targetCompatibility = '1.8' } minecraft { version = "1.12.2-14.23.5.2838" runDir = "run" // the mappings can be changed at any time, and must be in the following format. // snapshot_YYYYMMDD snapshot are built nightly. // stable_# stables are built at the discretion of the MCP team. // Use non-default mappings at your own risk. they may not always work. // simply re-run your setup task after changing the mappings to update your workspace. mappings = "snapshot_20171003" // makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable. } configurations { inJar } configurations.compile.extendsFrom(configurations.inJar) repositories { mavenCentral() jcenter() } dependencies { //inJar fileTree(dir: "libs", include: '*.jar') inJar ('net.dv8tion:JDA:3.8.3_463') { exclude module: 'opus-java' } inJar 'org.slf4j:slf4j-api:1.7.26' inJar 'org.slf4j:slf4j-simple:1.7.26' } jar { from(configurations.inJar) { into 'META-INF/libraries' } manifest { attributes( 'ContainedDeps': 'net.dv8tion:JDA:3.8.3_463 org.slf4j:slf4j-api:1.7.26 org.slf4j:slf4j-simple:1.8.0-beta4' ) } } processResources { // this will ensure that this task is redone when the versions change. inputs.property "version", project.version inputs.property "mcversion", project.minecraft.version // replace stuff in mcmod.info, nothing else from(sourceSets.main.resources.srcDirs) { include 'mcmod.info' // replace version and mcversion expand 'version':project.version, 'mcversion':project.minecraft.version } // copy everything else except the mcmod.info from(sourceSets.main.resources.srcDirs) { exclude 'mcmod.info' } } But I still don't know how to create the meta files for each library.
June 9, 20196 yr Author Yes that I have seen, however I don't understand how I can create the meta files in the build.gradle file.
June 9, 20196 yr Author 1 minute ago, diesieben07 said: Well, yes. And how would I move them using gradle ?
June 9, 20196 yr Author Okay the meta files are showing up in the Meta-Inf folder now, but sadly it still crashes with the same error message. Maybe I built the meta files wrong: I have named them after the library jar For Example: JDA-3.8.3_463.jar.meta and inside of the file is this: Maven-Artifact: net.dv8tion:JDA:3.8.3_463
June 9, 20196 yr Author 1 minute ago, diesieben07 said: Please update your Github repo. I'll do that! I have found this Thread: and have fixed those errors in my mod.
June 9, 20196 yr Author 3 minutes ago, diesieben07 said: Please update your Github repo. It is updated
June 9, 20196 yr Author I have found the error! The manifest.mf is empty for some reason. I'll change the code to what it was before.
June 9, 20196 yr Author Just now, diesieben07 said: Well, you completely removed the code that adds the Contained-Deps entry. Not sure why you did that. I looked at the old thread and my manifest.mf was broken too, so I put a non-broken manifest.mf in the resources folder, however it didn't copy it into the jar.
June 9, 20196 yr Author I again have the error: ---- Minecraft Crash Report ---- // Everything's going to plan. No, really, that was supposed to happen. Time: 09.06.19 15:02 Description: Exception in server tick loop net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Minebot (minebot) Caused by: java.lang.NoClassDefFoundError: org/apache/commons/collections4/map/CaseInsensitiveMap at net.dv8tion.jda.core.utils.JDALogger.<clinit>(JDALogger.java:57) at net.dv8tion.jda.core.entities.impl.JDAImpl.<clinit>(JDAImpl.java:65) at net.dv8tion.jda.core.JDABuilder.build(JDABuilder.java:890) at mod.minebot.discord.DISCORDBOT.<init>(DISCORDBOT.java:37) at mod.minebot.proxy.ServerProxy.startBot(ServerProxy.java:34) at mod.minebot.MINEBOT.preInit(MINEBOT.java:75) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:637) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) at com.google.common.eventbus.EventBus.post(EventBus.java:217) at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) at com.google.common.eventbus.EventBus.post(EventBus.java:217) at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:136) at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:627) at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:99) at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:333) at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:125) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: org.apache.commons.collections4.map.CaseInsensitiveMap at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:106) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 42 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.12.2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_211, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 863677704 bytes (823 MB) / 998768640 bytes (952 MB) up to 5712117760 bytes (5447 MB) JVM Flags: 0 total; IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP 9.42 Powered by Forge 14.23.5.2838 5 mods loaded, 5 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored | State | ID | Version | Source | Signature | |:----- |:--------- |:------------ |:--------------------------------------- |:---------------------------------------- | | LCH | minecraft | 1.12.2 | minecraft.jar | None | | LCH | mcp | 9.42 | minecraft.jar | None | | LCH | FML | 8.0.99.99 | forge-1.12.2-14.23.5.2838-universal.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 | | LCH | forge | 14.23.5.2838 | forge-1.12.2-14.23.5.2838-universal.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 | | LCE | minebot | 1.0 | minebot-1.0.jar | None | Loaded coremods (and transformers): Profiler Position: N/A (disabled) Is Modded: Definitely; Server brand changed to 'fml,forge' Type: Dedicated Server (map_server.txt) but it did make a new folder called memory repo.
June 9, 20196 yr Author Ah two libraries don't have the right versions in their meta files. I'll fix that.
June 9, 20196 yr Author Just now, diesieben07 said: Classes in the org.apache.commons package cannot be loaded from the mods folder. How can I load it then ?
June 9, 20196 yr Author Why exactly is it that ugly ? What about shadowjar could I use that ? And the alternative is that I rewrite the Library itself ?
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.