NEWS

 

 




| Printer Friendly | Post Reply
Eclipse Classpath Insanity
Elliotte Rusty Harold is reporting a disconnect, in Eclipse 3.2, between the path the compiler sees and what the interpreter sees. "Eclipse 3.2 is driving me nuts. For reasons I just can’t understand or debug it keeps throwing NoClassDefFoundError when I try to run most code in my project:

Exception in thread "main" java.lang.NoClassDefFoundError: nu/xom/Element

However, it can compile the classes it complains about not finding just fine. There appears to be a disconnect between the path the compiler sees and what the interpreter sees.

I can run simple Hello World applications in other subpackages (e.g. nu.xom.samples) but not anything in the main package (nu.xom) nor anything in a subpackage that references the main package. I’ve tried completely reinstalling Eclipse and nuking all my preferences (not an easy task since Eclipse spews them all over various locations on the disk, and tries to hide them from the user) but to no avail. The problem reoccurs."

Elliotte Rusty Harold has I’ve filed two bug reports with Eclipse about this:
  More Info
 


Yatego Shopping with more than 4000 Shops and with over 1.8 Mio Products. Branchenbuch and over 500.000 Bücher. Inspiration with Themeworld and Technic. A mobilephone- and Handy Shop with Nokia Handy, Motorola Handy and Sony Handy. With our Bestseller easily find Schuhe, Jeans, Kinderschuhe or a Digitalkamera, perhaps a Canon Digitalkamera. More Bestseller: Modellbahn, Diddl and Poker. Find Schmuck or Silberschmuck as easy as an Apple Ipod, Weber Grill or an Akkuschrauber.


  About Us | Advertise | Contact | Feedback | Publisher Copyright © 2007 Software & Support Media.
Any Questions?   Imprint | Privacy Policy