[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Somewhat odd compiler error: "... missing type java.lang.Object"

I've just added a new class to my project (by adding it to the file 
system then refreshing the directory from local), and it's come up with 
a bizarre compilation error:

"This compilation unit indirectly references the missing type 
java.lang.Object (typically some required class file is referencing a 
type outside the classpath)"

Rebuilding all doesn't help, and the error cursor is stuck on line one 
of the source file.

I'm pretty sure the code itself is okay, and when playing with 
refactoring I think I saw this error before (but dismissed it as user 
error at the time).

Any advice? Clearly java.lang.Object is known about, otherwise *nothing* 
would compile...

-- 
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too