java.lang.Object cannot be resolved -- RAD

While I was trying to build the workspace in RAD it gave me back the following error -"The type java.lang.Object cannot be resolved. It id indirectly refrenced from required .class files".

Root cause - The reason being the base class java.lang.Object could not be found in a new workspace or for an existing workspace where we are doing CVS or CC refresh.
Make sure that the JRE System library with the appropriate version is being set in Project -- Properties -- Java Build Path for new workspace or for an existing workspace make sure to edit/add the library.

No comments:

 Python Basics How to check the version of Python interpreter mac terminal

Popular in last 30 days