Jump to content

ClassNotFoundException


gjgfuj

Recommended Posts

This happened to me one time. When you reobfuscate the mod, check that every package and class is in the re-obf folder. Is it is not, try reobfuscating again. If that still does not work, try coping the source code and setting up a new MCP workspace. Then try reobfuscating from there.

 

Hope this helps!

Romejanic

Romejanic

 

Creator of Witch Hats, Explosive Chickens and Battlefield!

Link to comment
Share on other sites

I'm not entirely sure why, but something happens during obfuscation so that the path to your class has changed (maybe because you have minecraft in the package structure? :-\) and the ModClassLoader can't find it based on the path it received.

 

I would suggest two things:

 

 

1. Remove minecraft from your package structure.

 

2. Change:

@Mod.Instance("com.awesomesauce.minecraft.overhaulcraft.OverhaulCraft")

to:

@Instance(value = "OverhaulCraft")

That way you aren't hard coding the path to your mod ;)

 

Hope that is of some help.

Link to comment
Share on other sites

The serverSide proxy class you referenced in your OverhaulCraft class is not the same as the file you probably intended to use.

 

@SidedProxy(

      clientSide = "com.awesomesauce.minecraft.overhaulcraft.ClientProxy",

      serverSide = "com.awesomesauce.minecraft.awesomecraft.CommonProxy"

  )

  public static CommonProxy proxy;

 

Also, your error log seems to be showing errors from loading the "com.zip" file from a "mods\1.6.2" directory not the "OverhaulCraft.zip" so if there is something different there is no way to tell from what you have posted.

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.