Importing an Eclipse Maven project into the idea step runs successfully tested! ~lc

Source: Internet
Author: User

1: Delete the other redundant configuration files in the project, leaving only Src and pom.xml;

650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M02/A5/C9/wKioL1nDVvTyGNGtAABBQlI6aGU981.png-wh_500x0-wm_ 3-wmp_4-s_1068632447.png "style=" Float:none; "title=" Tim20170921140520.png "alt=" Wkiol1ndvvtygngtaabbqli6agu981.png-wh_50 "/>650) this.width=650;" Src= "https://s1.51cto.com/wyfs02/M01/07/19/ Wkiom1ndvymtaww6aaauw5nug1q085.png-wh_500x0-wm_3-wmp_4-s_3159172215.png "title=" TIM20170921140537.png "style=" Float:none; "alt=" Wkiom1ndvymtaww6aaauw5nug1q085.png-wh_50 "/>

2: Open idea-Select-

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/07/19/wKiom1nDV7mgyUe0AAE0Hapmb1M460.png-wh_500x0-wm_ 3-wmp_4-s_3738944778.png "title=" Picture _20170921140851.png "alt=" Wkiom1ndv7mgyue0aae0hapmb1m460.png-wh_50 "/>


3: Next-Select the item you have deleted-

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M01/A5/CA/wKioL1nDV9vD9lcNAAE3Hxsd3fA885.png-wh_500x0-wm_ 3-wmp_4-s_2980976653.png "title=" Tim20170921140951.png "alt=" Wkiol1ndv9vd9lcnaae3hxsd3fa885.png-wh_50 "/>


4: Select the existing model, MAVEN first, then click Next,

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M02/07/19/wKiom1nDWI2BbBRTAAB4aZSGgdQ415.png-wh_500x0-wm_ 3-wmp_4-s_1418817835.png "title=" Tim20170921141229.png "alt=" Wkiom1ndwi2bbbrtaab4azsggdq415.png-wh_50 "/>


5: In this interface, you can configure some options, here to keep the default values, click Next:

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M02/07/19/wKiom1nDWgOSkYVyAAGDUAs_F1Q899.png-wh_500x0-wm_ 3-wmp_4-s_507594475.png "title=" Tim20170921141827.png "alt=" Wkiom1ndwgoskyvyaagduas_f1q899.png-wh_50 "/>

6: Select the MAVEN project that idea identified, and then click Next:

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M00/07/19/wKiom1nDWiKhvkYYAABkStewJUM302.png-wh_500x0-wm_ 3-wmp_4-s_2083269506.png "title=" Tim20170921141917.png "alt=" Wkiom1ndwikhvkyyaabkstewjum302.png-wh_50 "/>

7: Select the existing JDK, or if not, click on the left + sign, select the JDK directory, select Jdk7, Next,

650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/A5/CA/wKioL1nDWhXBaQu0AAIAIlwX9V8538.png-wh_500x0-wm_ 3-wmp_4-s_4009063647.png "title=" Tim20170921141957.png "alt=" Wkiol1ndwhxbaqu0aaiailwx9v8538.png-wh_50 "/>

8: Confirm the project name and the project path, click "Finish",

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M02/07/19/wKiom1nDWmuRrBkSAACkJz4CHho602.png-wh_500x0-wm_ 3-wmp_4-s_3702983039.png "title=" Tim20170921142032.png "alt=" Wkiom1ndwmurrbksaackjz4chho602.png-wh_50 "/>


9: Next, the idea will open another window display, when idea will automatically find dependencies, download jar package, etc., this process time depends on the network and the MAVEN configuration of the Central Library . It's OK!


# LC reminds you : Note that if you have a jar package in addition to the MAVEN library, you have other jar packages that you add yourself, you need to manually:

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M00/A5/CA/wKioL1nDW4iBcMg3AAGJ4AA3LzU244.png-wh_500x0-wm_ 3-wmp_4-s_2236161624.png "title=" Tim20170921142542.png "alt=" Wkiol1ndw4ibcmg3aagj4aa3lzu244.png-wh_50 "/>


10: Next Use your configured tomcat (do not know how to configure, Baidu a bit!) Deploy your MAVEN project!

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/07/19/wKiom1nDXV2BD0XoAAERek9U9hA422.png-wh_500x0-wm_ 3-wmp_4-s_2866433758.png "style=" Float:none; "title=" 16.png "alt=" Wkiom1ndxv2bd0xoaaerek9u9ha422.png-wh_50 "/>


650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M01/A5/CA/wKioL1nDXSiz0csjAAD14cq3rwI650.png-wh_500x0-wm_ 3-wmp_4-s_3264713489.png "style=" Float:none; "title=" Tim20170921143143.png "alt=" Wkiol1ndxsiz0csjaad14cq3rwi650.png-wh_50 "/>


650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M02/07/19/wKiom1nDXV2xTdeWAACqTVDBS4I075.png-wh_500x0-wm_ 3-wmp_4-s_176658804.png "style=" Float:none; "title=" Tim20170921143152.png "alt=" Wkiom1ndxv2xtdewaacqtvdbs4i075.png-wh_50 "/>


#LC message : More records, you can remember! ~lc

#LC Message : Javac Your life, java your wonderful! ~lc


September 21, 2017 14:28:18

LC


This article is from the "AHVIPLC" blog, make sure to keep this source http://ahviplc.blog.51cto.com/9599731/1967447

Importing an Eclipse Maven project into the idea step runs successfully tested! ~lc

Related Article

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.