Note. Try this only if you have run out of other options in this thread.
So just in case, if other options, such as clear / rebuild listening in other answers, do not solve the problem, do the following:
Close eclipse Go to the project folder on your hard drive. Delete the .metadata file, restart Eclipse, and visit the workspace again. The classpath and libraries will be re-checked and the project reassembled.
source share