Dr_Schnauzer Posted April 10, 2016 Share Posted April 10, 2016 I recently updated my Mod from 1.8.9 to 1.9. In 1.8 everything worked fine (Server and Client). After the port the Client works perfectly, but when I start the Server I always get this crash: net.minecraftforge.fml.common.LoaderException: java.lang.NoClassDefFoundError: de/dr_schnauzer/ac/core/items/HotIngot at net.minecraftforge.fml.common.LoadController.transition(LoadController.java:179) at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:559) at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:93) at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:320) at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:119) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NoClassDefFoundError: de/dr_schnauzer/ac/core/items/HotIngot at de.dr_schnauzer.ac.AlchemyCraft.preInit(AlchemyCraft.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:228) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:206) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:135) at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:556) ... 5 more Caused by: java.lang.ClassNotFoundException: de.dr_schnauzer.ac.core.items.HotIngot at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 33 more Caused by: java.lang.NoClassDefFoundError: de/dr_schnauzer/ac/core/items/ACIngotRaw at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:760) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ... 35 more Caused by: java.lang.ClassNotFoundException: de.dr_schnauzer.ac.core.items.ACIngotRaw at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:101) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 39 more I double checked everything and the classes are definitely present at the Client and the Server. The only difference in the 1.8 and 1.9 Versions is the implementation of the IItemColor Interface. Maybe someone out here can help me out here. Also (not quite the Topic, but also related to the Server) when starting the Server in Intelij Idea, the Log doesn't work. The only Log printed is this: Calling tweak class net.minecraftforge.fml.common.launcher.FMLServerTweaker ERROR Error processing element TerminalConsole: CLASS_NOT_FOUND ERROR Error processing element TerminalConsole: CLASS_NOT_FOUND WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream ERROR Unable to locate appender Console for logger com.mojang ERROR Unable to locate appender FmlConsole for logger ERROR Unable to locate appender Console for logger net.minecraft WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream ERROR Error processing element TerminalConsole: CLASS_NOT_FOUND ERROR Error processing element TerminalConsole: CLASS_NOT_FOUND WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream ERROR Unable to locate appender Console for logger com.mojang ERROR Unable to locate appender FmlConsole for logger ERROR Unable to locate appender Console for logger net.minecraft Quote Link to comment Share on other sites More sharing options...
DireWand Posted April 10, 2016 Share Posted April 10, 2016 Can you send the crash report file? Quote To master the art of code you must first read the code Link to comment Share on other sites More sharing options...
Dr_Schnauzer Posted April 10, 2016 Author Share Posted April 10, 2016 I fixed it. I didn't realize the IItemColor class itself was clientside only and used it on both sides. *facepalm* The only thing that is left is the broken Log Connection between the Intellij Idea console and the Minecraft Server. But that is not a gamebreaker. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.