"Go" Maven3 the Web project created by the command line into the project of Eclipse and IntelliJ idea

Source: Internet
Author: User

Reference Link: http://blog.sina.com.cn/s/blog_4f925fc30102ed5b.html

premise : Before executing the MVN eclipse:eclipse command, there must be a pom. The XML file works, otherwise

MVN eclipse:eclipse command will be error, the general error message is required to have a pom.xml file of the project. First, the Eclipse Engineering command is as follows: C:\Documents and SETTINGS\ADMINISTRATOR>F:F:\>CD F:\SoftWare\Maven\MavenWebAppTest\ S3H3WEBWSF:\SOFTWARE\MAVEN\MAVENWEBAPPTEST\S3H3WEBWS>MVN Eclipse:eclipse

Then import this project into Eclipse, right-click the project name-->myeclipse-->add Web project capabilities-> Modify the Web root address (the point "Browse" button is specified as the src/under the current workspace Main/webapp folder), click Finish to import MyEclipse after the directory as follows:


Note: The Tomcat plugin allows MyEclipse to be built with the MAVEN plugin to run in MyEclipse embedded Tomcat. Baidu Search: "MyEclipse run Maven project" can find a lot of myeclipse under the use of MAVEN management engineering articles. http://b-l-east.iteye.com/blog/1246482http://blog.csdn.net/oyzl68/article/details/8119086http://hi.baidu.com/ ae6623/item/764d67036a9c6ccb75cd3c54 Baidu Search: "maven combat" can find a PDF document about Maven combat. Http://wenku.baidu.com/view/80e4c3136edb6f1aff001fdd.htmlhttp://ishare.iask.sina.com.cn/f/20771220.html?from= Like second, turn IntelliJ Idea Project command is as follows: C:\Documents and SETTINGS\ADMINISTRATOR>F:F:\>CD F:\SoftWare\Maven\ MAVENWEBAPPTEST\S3H3WEBWSF:\SOFTWARE\MAVEN\MAVENWEBAPPTEST\S3H3WEBWS>MVN Idea:idea


Then import this project into IntelliJ idea, the directory after importing IntelliJ idea is as follows:

"Go" Maven3 the Web project created by the command line into the project of Eclipse and IntelliJ idea

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.