The hierarchy of the type is inconsistent
生活随笔
收集整理的這篇文章主要介紹了
The hierarchy of the type is inconsistent
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
問題
eclipse中類A繼承了類B,提示錯(cuò)誤,錯(cuò)誤信息“The hierarchy of the type is inconsistent”
原因
類B的父類或類B的父類的父類所在的jar沒有被加到當(dāng)前工程的classpath下,引入依賴或手動加入path下即可。
總結(jié)
以上是生活随笔為你收集整理的The hierarchy of the type is inconsistent的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: ThinkJava-复用类
- 下一篇: iOS中SQLite3数据库修改字段名