The hierarchy of the type is inconsistent wind瑞_ 2018-02-04 295 阅读1分钟 问题eclipse中类A继承了类B,提示错误,错误信息“The hierarchy of the type is inconsistent”原因类B的父类或类B的父类的父类所在的jar没有被加到当前工程的classpath下,引入依赖或手动加入path下即可。