`
ronry
  • 浏览: 39897 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

The hierarchy of the type XXXX is inconsistent

    博客分类:
  • java
阅读更多

These errors happend because some  interface /class in the hierarchy cannot be resolve.
For example: the error is occur in your class - class x, x inherits y, and in turn, y inherits z. However, the  compiler

cannot resolve z (in above error is EventManager), because z is belong to a library that is not included.
Therefore, you have to add package containing z to the classpath/ or project's  Java   Build Path (if you are using eclipse).

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics