Posted June 24, 201312 yr I've been having this problem for quite some time now where my mod works fine in eclipse, then I recompile and reobfuscate is with mcp and it crashes in normal minecraft. I don't know what I'm doing wrong but It gives me this error: 2013-06-24 19:48:26 [iNFO] [sTDERR] Exception in thread "Minecraft main thread" java.lang.NoClassDefFoundError: vtsman/mine_modus/tileentity/Quantum_Materializer_TE 2013-06-24 19:48:26 [iNFO] [sTDERR] at vtsman.mine_modus.block.modBlocks.<clinit>(modBlocks.java:16) 2013-06-24 19:48:26 [iNFO] [sTDERR] at vtsman.mine_modus.baseMod.<init>(baseMod.java:33) 2013-06-24 19:48:26 [iNFO] [sTDERR] at vtsman.mine_modus.baseMod.<clinit>(baseMod.java:37) 2013-06-24 19:48:26 [iNFO] [sTDERR] at java.lang.Class.forName0(Native Method) 2013-06-24 19:48:26 [iNFO] [sTDERR] at java.lang.Class.forName(Class.java:249) 2013-06-24 19:48:26 [iNFO] [sTDERR] at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:425) 2013-06-24 19:48:26 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-06-24 19:48:26 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2013-06-24 19:48:26 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2013-06-24 19:48:26 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Method.java:597) 2013-06-24 19:48:26 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) 2013-06-24 19:48:26 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2013-06-24 19:48:26 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) 2013-06-24 19:48:26 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) 2013-06-24 19:48:26 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:267) 2013-06-24 19:48:26 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:192) 2013-06-24 19:48:26 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:172) 2013-06-24 19:48:26 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-06-24 19:48:26 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2013-06-24 19:48:26 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2013-06-24 19:48:26 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Method.java:597) 2013-06-24 19:48:26 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) 2013-06-24 19:48:26 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2013-06-24 19:48:26 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) 2013-06-24 19:48:26 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) 2013-06-24 19:48:26 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:267) 2013-06-24 19:48:26 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:103) 2013-06-24 19:48:26 [iNFO] [sTDERR] at cpw.mods.fml.common.Loader.loadMods(Loader.java:504) 2013-06-24 19:48:26 [iNFO] [sTDERR] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:163) 2013-06-24 19:48:26 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:411) 2013-06-24 19:48:26 [iNFO] [sTDERR] at net.minecraft.client.MinecraftAppletImpl.func_71384_a(SourceFile:56) 2013-06-24 19:48:26 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:733) 2013-06-24 19:48:26 [iNFO] [sTDERR] at java.lang.Thread.run(Thread.java:680) 2013-06-24 19:48:26 [iNFO] [sTDERR] Caused by: java.lang.ClassNotFoundException: vtsman.mine_modus.tileentity.Quantum_Materializer_TE 2013-06-24 19:48:26 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:238) 2013-06-24 19:48:26 [iNFO] [sTDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) 2013-06-24 19:48:26 [iNFO] [sTDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:247) 2013-06-24 19:48:26 [iNFO] [sTDERR] ... 33 more 2013-06-24 19:48:26 [iNFO] [sTDERR] Caused by: java.lang.ClassFormatError: Duplicate method name&signature in class file vtsman/mine_modus/tileentity/Quantum_Materializer_TE 2013-06-24 19:48:26 [iNFO] [sTDERR] at java.lang.ClassLoader.defineClass1(Native Method) 2013-06-24 19:48:26 [iNFO] [sTDERR] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) 2013-06-24 19:48:26 [iNFO] [sTDERR] at java.lang.ClassLoader.defineClass(ClassLoader.java:615) 2013-06-24 19:48:26 [iNFO] [sTDERR] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) 2013-06-24 19:48:26 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:227) 2013-06-24 19:48:26 [iNFO] [sTDERR] ... 35 more Help would be much appreciated. Thanks!
June 25, 201312 yr Are you using Pahimar's environment? Because, if you are, I will refuse to help you unless you use this instead. BEWARE OF GOD --- Co-author of Pentachoron Labs' SBFP Tech.
June 25, 201312 yr Author I'm just using the normal minecraft forge mcp environment. I seemed to work in 1.4.7, but it stopped working in 1.5.1 for me.
June 25, 201312 yr Caused by: java.lang.ClassFormatError: Duplicate method name&signature in class file vtsman/mine_modus/tileentity/Quantum_Materializer_TE You have dead code in your mod. Get rid of it This is why @Override is important -.- I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
June 25, 201312 yr I had the same problem, I solved it here: http://www.minecraftforge.net/forum/index.php/topic,9387.0.html
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.