Jump to content

Unable to load Mod due to ClassNotFoundException (SOLVED)


WayofTime

Recommended Posts

Hello, guys!

 

I am relatively new to modding, and have experienced a problem when trying to distribute my mod. When I have the source code open in Eclipse, I am able to run the 1.6.1 instance perfectly with my mod with no issues (other than textures not working properly, but I can fix that easily enough). However, when I package up the mod and insert it into the mods folder of Minecraft to test if it worked after recompiling and reobfuscation, the client would crash with this error: http://pastebin.com/P7vxbqSt

 

I am unsure what is causing this bug, because I do in fact have the referenced class in the .zip file, and as I said it works perfectly when launched from Eclipse. This was also happening in 1.5.2, so I do not believe it is dependent on the 1.6.1 instance. If it is a simple line of code that I need to add to the class, or something else, please let me know!

 

If you need it, here is the file of the unobfuscated code, classes included.

http://www.mediafire.com/?3fz5jgd3wz4vagd

Link to comment
Share on other sites

You most likely didn't package your mod properly.

The class not being found is WayofTime.alchemicalWizardry.AlchemicalWizardry.

That means your folder structure should be:

Zip-Root

|__WayofTime

  |__alchemicalWizardry

      |__AlchemicalWizardry.class

As if it was that simple... Thank you very much!

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.