美文网首页Java实战技术
The hierarchy of the type is inc

The hierarchy of the type is inc

作者: JavaQ | 来源:发表于2017-12-29 12:30 被阅读22次

问题

eclipse中类A继承了类B,提示错误,错误信息“The hierarchy of the type is inconsistent”

原因

类B的父类或类B的父类的父类所在的jar没有被加到当前工程的classpath下,引入依赖或手动加入path下即可。

相关文章

网友评论

    本文标题:The hierarchy of the type is inc

    本文链接:https://www.haomeiwen.com/subject/wreigxtx.html