Jump to content

NoClassDefFoundError?


DtrollMC
 Share

Recommended Posts

Don't tell me my class isn't in my zip, because it is. But anyways, I'm having an error installing my mod. It works beautifully in eclipse, but once I reobfuscate and install it(I'm installing to FTB Unleashed), I get http://pastebin.com/KdetzZLN this error. Does anyone know what's causing this error? My source code is available and updated here: https://github.com/Dtroll/FuturologyMod

Link to comment
Share on other sites

Caused by: java.lang.ClassFormatError: Duplicate method name&signature in class file Futurology/TileEntityForge

You are using SRG names for some of your methods in TileEntityForge. Don't do that. Name them properly.

FML deobfuscates minecraft to SRG names and so the names that are deobfuscated in the dev environment become SRG names as well. In your case that leads to a name clash.

Also I highly recommend @Override, it helps you keep track which methods you override/implement and which are just your own.

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

 Share



×
×
  • Create New...

Important Information

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