Successful build in Maven still showing errors in Eclipse
Updating maven project after importing it has fixed this issue for me:
Right click on the project --> Maven --> Update project.
Sometimes I get these types of issues as well.
Generally, what worked best for me with Eclipse & Maven:
- Use the latest m2e Eclipse plugin
- Use Maven 3
- Make sure m2e uses the same Maven version as the one you're using on the command line (not the internal one)
- Import projects as Maven projects to generate the Eclipse project files