Missing Maven dependencies in Eclipse


  1. Edit .classpath file of java project
  2. Add the following into .classpath file:
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
        <attributes>
            <attribute name="maven.pomderived" value="true"/>
            <attribute name="org.eclipse.jst.component.nondependency" value=""/>
        </attributes>
</classpathentry> 

3. If the class path entry already existed then do the below steps:

  • Right click on Project Select : Maven => Disable Maven Nature.
  • .Refresh the project and Right click on Project Root and select :Configure => Convert to Maven Project
  • Run Maven clean and Install to download dependencies again

Restart the eclipse or Clean the project and you can see Maven Dependencies in your project folder