项目从 Eclipse Luna 迁移到 Neon

Project migration from Eclipse Luna to Neon

我曾经在 Eclipse Luna 中工作 Java 编程,但后来切换到 netbeans。我想切换回 Eclipse,但现在只有 Neon 可用。当我尝试将项目导入 Neon Java EE IDE 时(与我使用 Luna 时相同)要么没有加载任何内容,要么文件夹中的所有内容都加载了大量错误,例如 "String cannot be resolved to a type"。我有相当多的使用 netbeans 的经验,但已经很长时间没有使用 Eclipse 了,而且当我使用它时并不知道我在做什么。

IDE描述的问题如下:

Description: The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project project name Unknown Java Problem

和...

Description Resource Path Location Type The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files ClientProxy.java /filepath/Main line 1 Java Problem where no main class even exists.

提前致谢

右键单击项目 -> 构建路径 -> 配置构建路径并检查 JRE 库是否在构建路径中。