How do I make eclipse rebuild the database of classes contained within a project or workspace? This is what it uses to make the \"References\" menu action work, what it uses
When this happens I usually have to delete the projects from the workspace, go to command line and rm -rf .settings .profile .classpath and then reimport the projects back in. Sometimes I have to delete the metadata directory (which means I have to reinstall some of my plugins). I have yet to find an actual fix for this. Cleaning the project does nothing to help.
You shouldn't have "hours of restoration" work to do if you just delete the .settings .profile and .classpath. You just need to reimport the projects back in after removing them from the workspace. While an annoyance, it shouldn't take more than 5 - 10 minutes.