Added Maven dependency, Eclipse doesn't see it
The suggestion by @khmarbaise works best and solves all problems.
Just delete the project from Eclipse.
Re-import as "Existing Maven Projects" and point it towards the directory that contains the project's
pom.xml
file.Let Eclipse's
m2e
plugin handle the rest
Worked flawlessly for me.
The following advice (taken from https://developers.google.com/appengine/docs/java/webtoolsplatform#maven) may only apply to GAE projects, but seems like it should be generally applicable (my project is GAE, so can't be sure):
The directory at the root of the Maven project must not contain any of the following:
1. A subdirectory named target 2. A subdirectory named .settings 3. A file named .classpath 4. A file named .project