在使用Myeclipse2015通过SNV导入项目后,项目直接报错,如下图: 点开后报错详细信息如下: Multiple markers at this line - The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files - The type java.lang.Exception cannot be resolved. It is indirect
1.显示.project文件丢失, 解决方法:在eclipse中删除和该项目相同的文件名,重新import即可 2.导入没有.classpath和.project文件的项目 解决方法:目前没遇到 3.导入项目jdk版本和本机环境不相同:Project facet Java version 1.8 is not supported 解决方法:右键项目--properties--java compiler--compiler compliance level 修改为1.7 法一:选中项目 Prope