Sometimes after adding a library to an Eclipse Java project, Eclipse is still confused and showing errors (cannot resolve type, etc).
Eclipse seems to get tripped up like this quite a lot. F5/Refresh does not fix the problem.
I have been cutting and then pasting the “error” code which resolves the errors, but this solution is ugly, especially if there is a large project. Is there a better way to do this?
I have run into this problem before. I would suggest these in order: