Forums > Java

Entirely Random NoClassDefFoundError

June 19, 2009 | 2:57 am

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


June 19, 2009 | 5:15 am

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.


June 19, 2009 | 5:46 am

Ok the lib thing doesn’t work either.

I may have a nervous breakdown in a second.


June 20, 2009 | 2:38 pm

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


June 20, 2009 | 4:04 pm

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.


Viewing 5 posts - 1 through 5 (of 5 total)