I am setting up a project in eclipse . This projects builds successfully through command line(all mvn commands like mvn package, mvn compile<
mvn
mvn package
mvn compile<
I had faced a similar issue and following the below steps helped me fix it.
Select the project
Right Click -> Maven
Update project..
It will download all the missing Jars.