问题:复用java类时报错:The hierarchy of the type is inconsistent 原因:该类或其父类所在的jar包没有被引入 建议解决方案:从该类的父类开始跟踪源码,找到其所在的jar包并引入项目中