When I recently exported the shop++4.0 project from SVN, I was unable to generate MAVEN Dependencies (now the shop++4.0 system is now using MAVEN to manage the jar package)
Tangled for a long time, delete the project re-export, tried many times or not.
Finally found a workaround on the web, the. classpath files are all copied to my error project. Then refresh the project and discover the directory with MAVEN dependencies
Finally I compare. 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.dependency" value= "/web-inf/lib"/>
</attributes>
</classpathentry>
Found this piece of code not. Add this code to the. classpath file, and there's no problem.
The problem is solved, visual inspection may be the time to load the project is the need to read the. classpath file, may not be loaded caused.
New Import shop++ Project cannot generate Maven dependencies directory