Thursday, March 19, 2009
Inconsistent Hierarchy Error in Eclipse
Occasionally I run into an error using Eclipse where it reports that the hierarchy for type XYZ is inconsistent. The problem isn't that there is a problem with the given class, but instead that the class it extends is not compiling properly. In my most recent case, the base class was missing a needed class in it's classpath.
Subscribe to:
Post Comments (Atom)
1 comment:
Thanks for this post! This helped me track down my issue.
(In my case, class BaseFoo is in project A with dbunit.jar. DerivedFoo is in project B without dbunit.jar, and the error was a vague attempt to tell me to include dbunit.jar into Project B).
Post a Comment