The Error is
"The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files".
1.Go to properties of project that having error.
2.In the "Libraries" tab of Build Path select JRE System library and hit remove.
3.Click button Add Library.Add Jre System Library and Keep default workspace.
4.Click finish
5.Click ok.