SXScarecrow Posted May 1, 2013 Posted May 1, 2013 Hi guys, I am trying to compile a server for my modpack, and I have run into the error below, which is one I have never seen before. It has happened both times I tried to make the server files, and I can't figure out for the life of me why. Can anyone help? 2013-05-01 20:02:13 [iNFO] [sTDERR] java.lang.NoClassDefFoundError: net/minecraft/client/Minecraft 2013-05-01 20:02:13 [iNFO] [sTDERR] at java.lang.Class.getDeclaredMethods0(Native Method) 2013-05-01 20:02:13 [iNFO] [sTDERR] at java.lang.Class.privateGetDeclaredMethods(Unknown Source) 2013-05-01 20:02:13 [iNFO] [sTDERR] at java.lang.Class.getDeclaredMethods(Unknown Source) 2013-05-01 20:02:13 [iNFO] [sTDERR] at cpw.mods.fml.common.FMLModContainer.gatherAnnotations(FMLModContainer.java:312) 2013-05-01 20:02:13 [iNFO] [sTDERR] at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:457) 2013-05-01 20:02:13 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-05-01 20:02:13 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2013-05-01 20:02:13 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2013-05-01 20:02:13 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Unknown Source) 2013-05-01 20:02:13 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69) 2013-05-01 20:02:13 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2013-05-01 20:02:13 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317) 2013-05-01 20:02:13 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300) 2013-05-01 20:02:13 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:268) 2013-05-01 20:02:13 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:153) 2013-05-01 20:02:13 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-05-01 20:02:13 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2013-05-01 20:02:13 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2013-05-01 20:02:13 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Unknown Source) 2013-05-01 20:02:13 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69) 2013-05-01 20:02:13 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2013-05-01 20:02:13 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317) 2013-05-01 20:02:13 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300) 2013-05-01 20:02:13 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:268) 2013-05-01 20:02:13 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:86) 2013-05-01 20:02:13 [iNFO] [sTDERR] at cpw.mods.fml.common.Loader.loadMods(Loader.java:494) 2013-05-01 20:02:13 [iNFO] [sTDERR] at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:86) 2013-05-01 20:02:13 [iNFO] [sTDERR] at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:351) 2013-05-01 20:02:13 [iNFO] [sTDERR] at ho.c(DedicatedServer.java:64) 2013-05-01 20:02:13 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:458) 2013-05-01 20:02:13 [iNFO] [sTDERR] at fy.run(SourceFile:849) 2013-05-01 20:02:13 [iNFO] [sTDERR] Caused by: java.lang.ClassNotFoundException: net.minecraft.client.Minecraft 2013-05-01 20:02:13 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:185) 2013-05-01 20:02:13 [iNFO] [sTDERR] at java.lang.ClassLoader.loadClass(Unknown Source) 2013-05-01 20:02:13 [iNFO] [sTDERR] at java.lang.ClassLoader.loadClass(Unknown Source) 2013-05-01 20:02:13 [iNFO] [sTDERR] ... 31 more 2013-05-01 20:02:13 [iNFO] [sTDERR] Caused by: java.lang.RuntimeException: Attempted to load class net/minecraft/client/Minecraft for invalid side SERVER 2013-05-01 20:02:13 [iNFO] [sTDERR] at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:38) 2013-05-01 20:02:13 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.runTransformers(RelaunchClassLoader.java:228) 2013-05-01 20:02:13 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:173) 2013-05-01 20:02:13 [iNFO] [sTDERR] ... 33 more 2013-05-01 20:02:13 [sEVERE] [Minecraft] Encountered an unexpected exception NoClassDefFoundError java.lang.NoClassDefFoundError: net/minecraft/client/Minecraft at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Unknown Source) at java.lang.Class.getDeclaredMethods(Unknown Source) at cpw.mods.fml.common.FMLModContainer.gatherAnnotations(FMLModContainer.java:312) at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:457) 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.EventHandler.handleEvent(EventHandler.java:69) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300) at com.google.common.eventbus.EventBus.post(EventBus.java:268) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:153) 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.EventHandler.handleEvent(EventHandler.java:69) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300) at com.google.common.eventbus.EventBus.post(EventBus.java:268) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:86) at cpw.mods.fml.common.Loader.loadMods(Loader.java:494) at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:86) at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:351) at ho.c(DedicatedServer.java:64) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:458) at fy.run(SourceFile:849) Caused by: java.lang.ClassNotFoundException: net.minecraft.client.Minecraft at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:185) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 31 more Caused by: java.lang.RuntimeException: Attempted to load class net/minecraft/client/Minecraft for invalid side SERVER at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:38) at cpw.mods.fml.relauncher.RelaunchClassLoader.runTransformers(RelaunchClassLoader.java:228) at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:173) ... 33 more Quote
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.