问题
eclipse中类A继承了类B,提示错误,错误信息“The hierarchy of the type is inconsistent”
原因
类B的父类或类B的父类的父类所在的jar没有被加到当前工程的classpath下,引入依赖或手动加入path下即可。
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
网友评论