If the other solutions didn't work and you know the correct jars are in your repository then:
The problem is that eclipse caches the errors for some reason.
I solved this problem by deleting the errors in the Problems tab and then I refreshed the project explorer and all the exclamation points and errors never returned.