It means you are trying to implement a non-existing interface or you're extending an non-existing class.
Try to refresh your Eclipse.
If it doesn't work, it may mean that you have a reference to a JAR that is not in the build path. Check your project's classpath and verify that the jar containing the interface or the class is in it.
Read full article from java - Eclipse compilation error: The hierarchy of the type 'Class name' is inconsistent - Stack Overflow
No comments:
Post a Comment