Cannot find the class file for java.lang.Object

前端 未结 9 1360
醉梦人生
醉梦人生 2021-02-12 16:31

I reinstalled my eclipse. and then imported all the projects in the Eclipse, but every project has a common error:

Cannot find the class file for java.lang.Object.

9条回答
  •  囚心锁ツ
    2021-02-12 17:10

    I had this issue too and in my case the issue was that the following line was missing from the .classpath file of the current project:

    Adding it solved the problem for me.

提交回复
热议问题