- Make sure Eclipse is not running.
- On a Terminal window jump to the location of Eclipse workspace.
Do,
mv .metadata/.plugins/org.eclipse.core.resources/.projects .metadata/.plugins/org.eclipse.core.resources/old.projects
- Launch Eclipse (it should load now).
- Go to “Eclipse->Preferences->General->Startup and Shutdown”and select “Refresh workspace on startup”.
- Quit Eclipse (ignore any of the errors that might be displayed).
- Go back to the terminal window.
Do,
mv .metadata/.plugins/org.eclipse.core.resources/old.projects .metadata/.plugins/org.eclipse.core.resources/.projects
Load Eclipse again.
After this, everything should be fine and the same issue won’t happen again.