the type java.lang.Object cannot be resolved. It is indirectly referenced from required. class Files
This problem occurs when you reference different version number Jdkproject in Eclipse. Because of the JDK or JRE that has multiple version numbers applied to your development environment. Eclipse will choose the appropriate JRE by default in accordance with the initial development environment. If you have jdk1.4 development environment project on Eclipse, the problem arises when you introduce project with the high version number jdk1.6 development.
problem-solving scenarios such as the following :
(1)
Enter window\preferences\java\installed JREs
Press Add-Browse ...---> select JRE installation brutishness (my JRE path is D:\Program files\java\jre1.6.0_02)--->ok
Find your project right click on the Properties Option dialog box and select the Libraries tab on the right---> Click Add Library ...--->
Select JRE System Library ...---> Next---> select the corresponding version number under the alternate JRE JRE--and Finish---> Ok
The above problems can be solved.
(2) If it still does not work. Then change the JDK to 1.6 or 1.7.
Miscellaneous (iii)-the type java.lang.Object cannot be resolved It's indirectly referenced ...