Entirely Random NoClassDefFoundError

Jun 19, 2009 at 2:57am

Entirely Random NoClassDefFoundError

I’ve been working on a mammoth MXJ patch for a while. Ever since I bought my new macbook, I’ve been getting totally random NoClassDefFound Errors every time I load the patch. Oddly, it’s a different class every fricken time!

I’m using eclipse to code.

the structure of my project is included below. This has worked in the past. I can’t keep my java stuff in the system folders because I have 80 versions lying around.

BigProject/Main.maxpat
BigProject/MyMXJProject/mypackage/MyClass.class
BigProject/MyMXJProject/mypackage/MyClass.java

#44446
Jun 19, 2009 at 5:15am

not that this would surprise anyone but it appears that exporting a lib appears to help. Unfortunately, I’d quit working if I had to export a jar manually from eclipse 100 times a day.

#159844
Jun 19, 2009 at 5:46am

Ok the lib thing doesn’t work either.

I may have a nervous breakdown in a second.

#159845
Jun 20, 2009 at 2:38pm

Could you post your Max file paths and CLASSPATH settings please? Having multiple versions of classes in your paths could be an issue.

#159846
Jun 20, 2009 at 4:04pm

Hans I apologize. I started a new thread for the solution to this one. Apparently there is a bug where if I open this patch, then open one elsewhere in the filesystem, the first patch no longer can find any of the classes.

#159847

You must be logged in to reply to this topic.