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。
解决方法:
step1:点击project----->propertys------>Java Build Path -----> Libraries---->Add Libraries----->JRE System Library------>选第一个workspace default jre-------->finish,
step2:点击project----->clean------>clean all projects -----> OK