Jump to content

Compiling issues


vtsman

Recommended Posts

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!

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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



×
×
  • Create New...

Important Information

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