java.lang.Object是JRE的问题。 Errors: The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files | ||||
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的Property中java build path->library->JRE System Library删除,重新add Library 选择Workspace default JRE 即可。