New Import shop++ Project cannot generate Maven dependencies directory

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.