Eclipse compilation error: The hierarchy of the type 'Class name' is inconsistent

后端 未结 23 2642
遥遥无期
遥遥无期 2020-12-04 15:53

I have downloaded some open source software written in Java and tried to compile it using Eclipse. I got the error: \"The hierarchy of the type \'Class name\' is inc

23条回答
  •  抹茶落季
    2020-12-04 16:30

    I had this problem after I upgraded the JDK to a new version. I had to update the references to libraries in Project Properties/Java Build Path.

提交回复
热议问题