Jump to content

[1.12.2] Library only working on runServer/runClient (java.lang.NoClassDefFoundError)


Recommended Posts

Posted (edited)

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 by GloriousAlpaca
Posted
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.

Posted
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 ?

Posted
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


 

Posted

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.

Posted

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.

Posted

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

 

Posted
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.

Posted

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.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Hello everyone. I am trying to set up a modded Minecraft server for version 1.20.1 but am running into an issue in which the server "freezes" during startup. The logs end at a certain point during startup, and no useful error messages are provided. Does anybody have any idea what might be happening? I am using a custom modlist.   Log File: https://api.mclo.gs/1/raw/eW4Nukg (There is an error message for "Quark", but it is not causing the issue I am having)
    • Hello everyone. I am trying to set up a modded Minecraft server for version 1.20.1 but am running into an issue in which the server "freezes" during startup. The logs end at a certain point during startup, and no useful error messages are provided. Does anybody have any idea what might be happening? I am using a custom modlist.   Log File: https://api.mclo.gs/1/raw/eW4Nukg (There is an error message for "Quark", but it is not causing the issue I am having)
    • You can get a $100 off Temu Coupon code using the code ((“acs790416”)). This Temu $100 Off code is specifically for new and existing customers both and can be redeemed to receive a 40% discount on your purchase.   Our exclusive Temu Coupon code offers a flat $100 off your purchase, plus an additional 30% discount on top of that. You can slash prices by up to 70% as a new Temu customer using code ((“acs790416”)). Existing users can enjoy 40% off their next haul with this code.   But that’s not all! With our Temu Coupon codes for 2025, you can get up to 90% discount on select items and clearance sales. Whether you’re a new customer or an existing shopper, our Temu codes provide extra discounts tailored just for you. Save up to 30% with these current Temu Coupons ["^"acs790416"^"] for January 2025. The latest Temu coupon codes at here.   New users at Temu receive a $100 discount on orders over $100 Use the code ((“acs790416”)) during checkout to get Temu Coupon $100 Off For New Users. You can save $100 Off your first order with the coupon code available for a limited time only.   Temu 90% Off promo code ((“acs790416”)) will save you $100 on your order. To get a discount, click on the item to purchase and enter the code. Yes, Temu offers $100 Off coupon code “acs790416” for first time users. You can get a $100 bonus plus $100 Off any purchase at Temu with the $100 Coupon Bundle at Temu if you sign up with the referral code ((“acs790416”)) and make a first purchase of $100 or more. Free Temu codes $100 off — ((“acs790416”))   Temu Coupon $100 off — ((“acs790416”))   Temu Coupon 30% off — ((“acs790416”))   Temu Memorial Day Sale 75% off — ((“acs790416”))   Temu Coupon code today — ((“acs790416”))   Temu free gift code — ["^"acs790416"^"](Without inviting friends or family member)   Temu Coupon code for Canada - 40% Off— ((“acs790416”))   Temu Coupon code Australia - 40% Off— ((“acs790416”))   Temu Coupon code New Zealand - 40% Off — ((“acs790416”))   Temu Coupon code Japan - 40% Off — ((“acs790416”))   Temu Coupon code Mexico - 40% Off — ((“acs790416”))   Temu Coupon code Chile - 40% Off — ((“acs790416”))   Temu Coupon code Peru - 40% Off — ((“acs790416”))   Temu Coupon code Colombia - 40% Off — ((“acs790416”))   Temu Coupon code Malaysia - 40% Off — ((“acs790416”))   Temu Coupon code Philippines - 40% Off — ((“acs790416”))   Temu Coupon code South Korea - 40% Off — ((“acs790416”))   Redeem Free Temu Coupon Code ["^"acs790416"^"] for first-time users   Get a $100 discount on your Temu order with the promo code "acs790416". You can get a discount by clicking on the item to purchase and entering this Temu Coupon code $100 off ((“acs790416”)).   Temu New User Coupon ((“acs790416”)): Up To 75% OFF For First-Time Users   Our Temu first-time user coupon codes are designed just for new customers, offering the biggest discounts and the best deals currently available on Temu. To maximize your savings, download the Temu app and apply our Temu new user coupon during checkout.   Temu Coupon Codes For Existing Users ((“acs790416”)): 40% Price Slash   Have you been shopping on Temu for a while? Our Temu Coupon for existing customers is here to reward you for your continued support, offering incredible discounts on your favorite products.   Temu Coupon For $100 Off ((“acs790416”)): Get A Flat $100 Discount On Order Value   Get ready to save big with our incredible Temu Coupon for $100 off! Our amazing Temu $100 off coupon code will give you a flat $100 discount on your order value, making your shopping experience even more rewarding.   Temu Coupon Code For 40% Off ((“acs790416”)): For Both New And Existing Customers   Our incredible Temu Coupon code for 40% off is here to help you save big on your purchases. Whether you’re a new user or an existing customer, our 40% off code for Temu will give you an additional discount!   Temu Coupon Bundle ((“acs790416”)): Flat $100 Off + Up To 70% Discount   Get ready for an unbelievable deal with our Temu Coupon bundle for 2025! Our Temu Coupon bundles will give you a flat $100 discount and an additional 40% off on top of it.   Free Temu Coupons ((“acs790416”)): Unlock Unlimited Savings!   Get ready to unlock a world of savings with our free Temu Coupons! We’ve got you covered with a wide range of Temu Coupon code options that will help you maximize your shopping experience.   30% Off Temu Coupons, Promo Codes + 25% Cash Back ((“acs790416”))   Redeem Temu Coupon Code ((“acs790416”))   Temu Coupon $100 OFF ((“acs790416”))   Temu Coupon $100 OFF FOR EXISTING CUSTOMERS ((“acs790416”))   Temu Coupon $100 OFF FIRST ORDER ((“acs790416”))   Temu Coupon $100 OFF REDDIT ((“acs790416”))   Temu Coupon $100 OFF FOR EXISTING CUSTOMERS REDDIT ((“acs790416”))   Temu $100 OFF CODE ((“acs790416”))   Temu 100 OFF COUPON 2025 ((“acs790416”))   DOMINOS 100 RS OFF COUPON CODE ((“acs790416”))   WHAT IS A COUPON RATE ((“acs790416”))   Temu $100 OFF FOR EXISTING CUSTOMERS ((“acs790416”))   Temu $100 OFF FIRST ORDER ((“acs790416”))   Temu $100 OFF FREE SHIPPING ((“acs790416”)) You can get an exclusive $100 off discount on your Temu purchase with the code **[acs790416]**. This code is specially designed for new customers and offers a significant price cut on your shopping. Make your first purchase on Temu more rewarding by using this code to get $100 off instantly.   **Temu Coupon Code For $100 Off [acs790416]:**   Get A Flat $100 Discount On Order Value   Get ready to save big with our incredible Temu coupon for $100 off! Our coupon code will give you a flat $100 discount on your order value, making your shopping experience even more rewarding.   **Exclusive Temu Discount Code [acs790416]:**   Flat $200 OFF for New and Existing Customers   Using our Temu promo code you can get $200 off your order and 30% off using our Temu promo code **[acs790416]**. As a new Temu customer, you can save up to 70% using this promo code. For returning users, our Temu promo code offers a 100% price slash on your next shopping spree. This is our way of saying thank you for shopping with us!   **Best Temu Deals and Coupons [acs790416]:**   During 2024, Temu coupon codes offer discounts of up to 90% on select items, making it possible for both new and existing users to get incredible deals. From $100 off deals to 30% discounts, our Temu promo codes make shopping more affordable than ever.   **Temu Coupon Code For $100% Off [acs790416]:**   For Both New And Existing Customers   Free Temu $100 Off Code — **[acs790416]**   Temu Coupon 30% Off — **[acs790416]**   Temu Memorial Day Sale - 75% Off — **[acs790416]**   Temu Free Gift Code — **[acs790416]**   Temu $500 Off Code — **[acs790416]**   Best Temu $200 Off Code — **[acs790416]**   Temu Coupon Code first order — **[acs790416]**   Temu Coupon Code for New user — **[acs790416]**   Temu Coupon Code $$100 off — **[acs790416]**   Temu Coupon Code $50 off — **[acs790416]**   Temu Coupon Code $70 off — **[acs790416]**   Temu Promo Code 2024 — **[acs790416]**   Temu Coupon Code $200 off — **[acs790416]**   Temu Coupon Code $90 off — **[acs790416]**   Temu Sign up Bonus Code — **[acs790416]**   Temu Coupon Code $120 off — **[acs790416]**   Our exclusive Temu coupon code allows you to take a flat $200 off your purchase with an added 30% discount on top. As a new Temu shopper, you can save up to 70% using code **[acs790416]**. Returning customers can also enjoy a 100% discount on their next purchases with this code. **Temu Coupon Code for Your Country Sign-up Bonus**   Temu $100 Off Code Canada **[acs790416]** - 30% off   Temu $100 Off Code Australia **[acs790416]** - 30% off   Temu $100 Off Code New Zealand **[acs790416]** - 30% off   Temu $100 Off Code Japan **[acs790416]** - 30% off   Temu $100 Off Code Mexico **[acs790416]** - 30% off   Temu $100 Off Code Chile **[acs790416]** - 30% off   Temu $100 Off Code Peru **[acs790416]** - 30% off   Temu $100 Off Code Colombia **[acs790416]** - 30% off   Temu $100 Off Code Malaysia **[acs790416]** - 30% off   Temu $100 Off Code Philippines **[acs790416]** - 30% off   Temu $100 Off Code South Korea **[acs790416]** - 30% off   Temu $100 Off Code USA **[acs790416]** - 30% off   Temu $100 Off Code Pakistan **[acs790416]** - 30% off   Temu $100 Off Code Finland **[acs790416]** - 30% off   Temu $100 Off Code Saudi Arabia **[acs790416]** - 30% off   Temu $100 Off Code Qatar **[acs790416]** - 30% off   Temu $100 Off Code France **[acs790416]** - 30% off   Temu $100 Off Code Germany **[acs790416]** - 30% off   Temu $100 Off Code Netherlands **[acs790416]** - 30% off   Temu $100 Off Code Israel **[acs790416]** - 30% off     Get a $100 discount on your Temu order with the promo code **[acs790416]**. You can get a discount by clicking on the item to purchase and entering this Temu coupon code $100 off **[acs790416]**.   **Temu Coupon Code [acs790416]:** Get Up To 90% OFF In NOV 2024   Are you looking for the best Temu coupon codes to get amazing discounts? Our Temu coupons are perfect for getting those extra savings you crave. We regularly test our coupon codes for Temu to ensure they work flawlessly, giving you a guaranteed discount every time.   **Temu New User Coupon [acs790416]:**   Up To 75% OFF For First-Time Users   Our Temu first-time user coupon codes are designed just for new customers, offering the biggest discounts and the best deals currently available on Temu. To maximize your savings, download the Temu app and apply our Temu new user coupon during checkout.   **What is a Temu Coupon Code?**   A Temu coupon code, such as **[acs790416]**, is a special promotional code that you can enter during checkout to receive a discount on your purchase. These codes often offer percentage-based discounts, flat reductions on order values, or special bonuses like free gifts or shipping. Temu offers a range of coupon codes to ensure all its shoppers, from new users to loyal customers, can enjoy exclusive discounts.   **Top Temu Coupon Codes for Different Offers**   Temu Black Friday Code **[acs790416]** - Up to 90% off during Black Friday sales.   Temu Holiday Discount **[acs790416]** - Extra savings on holiday shopping.   Temu $500 Off Code **[acs790416]** - The best high-value discount for major purchases.   Temu Sign-Up Bonus **[acs790416]** - Exclusive for new users for up to 75% off on first-time purchases.   **Why Choose Temu Coupons?**   Best Value Deals: Whether you’re buying daily essentials or unique gifts, Temu’s discounts with **[acs790416]** offer some of the best value deals in the market.   Simple to Use: No complex steps or special conditions—just enter **[acs790416]** at checkout for immediate discounts.   Comprehensive Coverage: Temu coupons work for a wide variety of product categories, making it possible for everyone to save.   **Get $50 Off Temu Coupon Code [acs790416] | + 30% Discount**   You can get a $50 off Temu coupon code using the code **[acs790416]**. This Temu $50 Off code is specifically for new customers and can be redeemed to receive a $50 discount on your purchase.   **Temu Coupon Bundle [acs790416]:**   Flat $100 Off + Up To 70% Discount   Get ready for an unbelievable deal with our Temu coupon bundle for 2024! Our Temu coupon bundles will give you a flat $100 discount and an additional 100% off.   **Best Temu Offers and Discounts for January 2025**   Want to save big on your Temu orders? Our tested and verified Temu coupon codes ensure you get the maximum discounts, from $50 off to $500 off, depending on the ongoing promotion.   **How to Use Temu Coupon Code [acs790416]**   Add Items to Your Cart: Shop on Temu and add the products you wish to purchase to your cart.   Go to Checkout: Once ready, proceed to the checkout page.   Enter the Coupon Code: In the designated promo code box, enter **[acs790416]** and click on the “Apply” button.   Enjoy Your Savings: Instantly see your total amount reduced based on the coupon code you applied. Complete your purchase and enjoy the savings!   **Top Temu Coupons for New Users [acs790416]**   If you are new to Temu, take advantage of our first-time user coupon codes and get up to 75% off on your first purchase using **[acs790416]**. For even more savings, download the Temu app and enter the promo code during checkout.   **Temu Coupon Codes for Existing Users [acs790416]**   Returning customers can also enjoy amazing deals with our 100% discount code for repeat purchases. Temu values its loyal customers and offers this special promo code as a token of appreciation. Unlock Big Savings with the Best Temu Coupon Code: ((“acs790416”)) Looking for unbeatable Temu deals? You’re in the right place! Whether you’re a loyal returning customer or a first-time shopper, this exclusive coupon code ((“acs790416”)) offers significant discounts on your favorite items. Keep reading to discover how you can maximize your savings using this versatile promo code and enjoy an enhanced shopping experience. ▸ Exclusive Temu Coupon Code for All Shoppers Are you searching for a universal coupon code for Temu? Look no further! The coupon code ((“acs790416”)) is valid for both new and existing customers, ensuring everyone gets more value for their money. ➔ Start saving today! ➜ Temu Coupon Code for Existing Customers Returning customers don’t need to miss out on fantastic savings. Apply the coupon code ((“acs790416”)) at checkout and enjoy exclusive discounts. ▶ Stay loyal, save more! ➜ Temu Coupon Code for New Customers New to Temu? Begin your shopping adventure with instant savings! Use the promo code ((“acs790416”)) during your first purchase to get a substantial discount. ➔ A great start for first-time shoppers! ▶ Special Deals: Massive Discounts for Every Order ➜ Get $100 Off with Temu Coupon Code Looking for a way to save $100? Use the coupon code ((“acs790416”)) on selected purchases and enjoy a significant price reduction. Whether you’re placing your first or repeat order, this promo code delivers incredible savings. → Big discounts, hassle-free! ➜ $90 Off Coupon Code for Temu Shoppers Save up to $90 by using the promo code ((“acs790416”)) at checkout. This deal is perfect for both new and returning shoppers. ➜ Save $70 Instantly with Temu Coupon Code Want instant savings? Enter the code ((“acs790416”)) to receive $70 off your next order. ➔ Spend less, shop more! ➜ Grab $50 Off Plus Free Shipping Combine two great offers—$50 off plus free shipping—by applying the coupon code ((“acs790416”)). ➔ Double benefits, zero shipping costs! ➜ Get $40 Off on Temu Orders Use the coupon code ((“acs790416”)) to receive $40 off your total bill. This discount is available to both new and existing customers. ➜ Save $30 on Your Next Order Apply the promo code ((“acs790416”)) to get $30 off your next Temu purchase. → Every bit of savings adds up! ▸ Additional Offers and Freebies ➜ Free Items with Temu Coupon Code Everyone loves freebies! Use the code ((“acs790416”)) on Temu to find deals that include free items with your order. ➔ Shop smart, grab extras! ➜ Enjoy 50% Off on Your First Order First-time buyers can enjoy a 50% discount by using the coupon code ((“acs790416”)). ➔ Don’t miss this half-price offer! ➜ Verified Reddit Coupon Codes for Temu Instead of browsing Reddit for hours, use the verified Temu coupon code ((“acs790416”)) to enjoy discounts of up to $100, $90, $70, $50, or $40 instantly. ▶ Frequently Asked Questions ➜ Is the Temu Coupon Code ((“acs790416”)) Legit? Yes, the coupon code ((“acs790416”)) is 100% legit and verified. You can safely use it on Temu’s official website to enjoy guaranteed discounts. ➜ How Do I Apply the Coupon Code on Temu? Add items to your cart. Go to checkout. Enter the coupon code ((“acs790416”)) in the promo code box. Click ‘Apply’ and watch your total decrease instantly! ▸ Final Thoughts: Shop More, Save More! Shopping on Temu just got better! Whether you’re eyeing a big discount like $100 off or want free shipping, the coupon code ((“acs790416”)) covers it all. With verified offers, legit deals, and massive savings, this is the best time to shop on Temu. Start shopping now and unlock unbeatable discounts with ((“acs790416”))! Happy shopping!
    • bedbuewfbyirewibuewbufbiuewfbhiewbvuiwrv
    • System Info:     - OS: CachyOS x86_64 - (Arch based)     - Kernel: Linux 6.13.0-2-cachyos     - CPU: AMD Ryzen 5 7600X (12) @ 5.45 GHz     - GPU 1: NVIDIA GeForce RTX 4070 [Discrete]     - GPU 2: AMD Raphael [Integrated] Versions:     - openjdk 23.0.2 2025-01-21     - forge-1.21.4-54.0.21-installer.jar Log:     - forge-1.21.4-54.0.21-installer.jar.log Error: net/minecraft/world/ticks/package-info.class version.json Processor failed, invalid outputs: /home/ori/Desktop/Bots/Serverbot/MC_Worlds/ForgeTest/./libraries/net/minecraft/server/1.21.4/server-1.21.4-official.jar Expected: 0c21a12f2007a8243664e81cb1c353d94ed721a1 Actual: 0cf72b1d313f7cd54003e29428c02769068f25db There was an error during installation Regardless if I am installing client or server, it throws this error. I have tried changing my java version to java 18, tried different forge installer versions. I am out of ideas.
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.