Jump to content

[SOLVED] In-game crash - NoClassDefFoundError


code4240

Recommended Posts

EDIT: I discovered that func_104112_b() and saveExtraData() are the same thing. removing func fixed the error.

 

My mod works fine in eclipse, but when I try to use it in my game I get this error upon generating a new world:

 

https://gist.github.com/anonymous/7297277

 

ChunkProviderDarwin File: https://github.com/code4240/DarwinMod/blob/master/code4240/alien/world/ChunkProviderDarwin.java'>https://github.com/code4240/DarwinMod/blob/master/code4240/alien/world/ChunkProviderDarwin.java

 

EDIT:

Entire Mod: https://github.com/code4240/DarwinMod

I am the Queen/King of gender ambiguity. At least, I try to be.

Link to comment
Share on other sites

Hi

 

It looks like it's trying to find code4240/alien/world/ChunkProviderDarwin but can't for some reason.

Just a random guess as to why:

either your path structure is wrong, or there is an upper case / lower case mismatch.  Windows ignores upper/lower case in its file & folder names, but zip files don't, so what works fine in windows folders (i.e. from Eclipse) might not be found inside a zip.

 

-TGG

Link to comment
Share on other sites

Hi

 

It looks like it's trying to find code4240/alien/world/ChunkProviderDarwin but can't for some reason.

Just a random guess as to why:

either your path structure is wrong, or there is an upper case / lower case mismatch.  Windows ignores upper/lower case in its file & folder names, but zip files don't, so what works fine in windows folders (i.e. from Eclipse) might not be found inside a zip.

 

-TGG

 

I can't find any mismatches in case. All my packages are lower case in both eclipse, the scr, and zip.

 

Here's my file structure:

 

y6vq.png

 

I am the Queen/King of gender ambiguity. At least, I try to be.

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.



×
×
  • Create New...

Important Information

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