I had a similar problem and tried to answer all the questions in this post. Closest I came to a solution to this problem, combining the solutions of Joseph Lust and Paul Crease. I added a backup pom.xml file after deleting and re-importing the project, and nothing appeared until I removed the dependency management tag in pom.xml, and, like magic, the dependency folder was there.
However, it crashed the child POM, because they needed the dependency management of the parent pom.xml to work, and as a result, my MVN did not work properly in the project either from Eclipse or from the command line, giving a broken pom. xml.
The final solution, if all else fails, is to manually import the .jar files your project needs. Right-click the Properties project → Java Build Path → Libraries and Add External Banner.
If MVN works correctly from the command line and you successfully completed the project, you will have all the repositories needed in your .m2 / repository folder. Add all the external jars mentioned in your pom.xml dependency tag and you will see the help library section in your Eclipse, with all the nasty red errors gone.
This is not an optimal solution, but it allows you to work in Eclipse without any errors of missing dependencies, and also allows you to create a Maven project both from Eclipse and from the command line.
Saad Apr 03 '16 at 20:21 2016-04-03 20:21
source share