Sudden weird errors on a project-Collection of common programming errors
I have went through that problem a lot of times, and tried everything you tried. Rebuild, recompile, refresh, remove and add JDK, remove and reinstall Eclipse… nothing worked
The only thing I concluded is that the workspace metadata was corrupted.
What I did (every time it happened) was
- Create an empty workspace
- Import -> existing projects into worskpace
- Mark the “copy projects” (else it will only link them)
- Wait for the copy, and start working with the new workspace
If you work with SCM systems (Git, SVN, etc), making a full checkout will do the trick too, but the worskpace import will let you retrieve those changes you didn’t get to commit (if any).
It’s a little painful if you have somethings already set (like JDK names, servers, etc), but then I realized it was faster than keep searching how to fix the workspace
Regards!
PS : I’ve been working with Kepler lately, and everything works fine till now