Creating a Maven project in MyEclipse

Source: Internet
Author: User

Reprint: Http://blog.sina.com.cn/s/blog_4f925fc30102epdv.html to set maven in MyEclipse first:


The support setup for MyEclipse to this maven is complete. Below we create a MAVEN standard Web project in MyEclipse: New---Web project


To this end a MAVEN standard Web project was created successfully. Add Maven's Standard Catalog: Right-click the project name-->new-->source Folder



To this end, add Maven's contract directory to completion. Right-click the project name-->build path-->configure Build Path ...

Right-click the project name-->maven4myeclipse-->update projects Configuration ... So far, the JDK version of the MAVEN project created in MyEclipse has been changed. --------------------------------------------------------------------------------------------------the author of this side more wordy sentence, When you create a MAVEN project with MyEclipse, you may encounter the following problem: Coreexception:could not calculate build plan:plugin org.apache.maven.plugins:maven-compiler-plugin:2.3.2Or one of its dependencies could is resolved:failure to transfer org.apache.maven.plugins:maven-compiler-plugin:jar:2.3.2From Http://repo1.maven.org/maven2 is cached in the local repository, resolution won't be reattempted until the Updat E interval of central have elapsed or updates are forced. Original error:could not transfer artifact Org.apache.maven.plugins:Maven-compiler-plugin:jar: 2.3.2 from/to Central (http://REPO1.MAVEN.ORG/MAVEN2), No response received after 60000 "workaround":

--------------------------------------------------------------------------------------------------the author of this side more wordy sentence, When you create a MAVEN project with MyEclipse, you may encounter the following problem: Failure to transfer org.apache.maven.plugins:maven-war-plugin:jar:2.1.1From Http://repo1.maven.org/maven2 is cached in the local repository, resolution won't be reattempted until the Updat E interval of central have elapsed or updates are forced. Original error:could not transfer artifact Org.apache.maven.plugins:maven-war-plugin:jar:2.1.1From/to Central (HTTP://REPO1.MAVEN.ORG/MAVEN2): No response received after 60000 "workaround":

Creating a Maven project in MyEclipse

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.