I had a similar problem. The cleanup project did not resolve the problem and there were no errors in the code or in capital or spaces in the file names.
The solution appeared in a pop-up window that appeared when choosing PROJECT → CLEAN, and then uncheck the box “Start assembly right away”. Clean up the project. Close and restart Eclipse, and then create a project (PROJECT -> BUILD).
The question remains why simple cleaning and assembly without closing Eclipse did not work.
source share