New MAVEN Project

Source: Internet
Author: User

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/73/5A/wKioL1X7ecjjJfkhAAH_7D6bS1Y220.jpg "title=" Qq20150918102052.png "alt=" Wkiol1x7ecjjjfkhaah_7d6bs1y220.jpg "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/73/5B/wKioL1X7eeTRfGt3AAHCsUgBv_w709.jpg "title=" Qq20150918102110.png "alt=" Wkiol1x7eetrfgt3aahcsugbv_w709.jpg "/>

If you do not tick that create a simple project can also, but after the completion of the creation of the project also need to modify the packaging to Pom. And if you don't tick, choose Maven-archetype-quickstart.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/73/5B/wKioL1X7emPQnSURAAIeMQdgYlY559.jpg "title=" Qq20150918103405.png "alt=" Wkiol1x7empqnsuraaiemqdgyly559.jpg "/>

This explains that the packaging needs to choose POM, because this MAVEN project is a modular management, it does not actually have the actual content, but contains the other modules.

Next right click on this MAVEN project,

Then select Maven Module

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/73/5D/wKiom1X7eUujEH2FAAF-W16CHFE192.jpg "title=" Qq20150918103839.png "alt=" Wkiom1x7euujeh2faaf-w16chfe192.jpg "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/73/5B/wKioL1X7f-_SKpq8AAGuP8ubDx0904.jpg "title=" Qq20150918103935.png "alt=" Wkiol1x7f-_skpq8aagup8ubdx0904.jpg "/>

There's no need to check this here.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/73/5E/wKiom1X7fdKyo9aKAAMocYtGS0w775.jpg "title=" Qq20150918103954.png "alt=" Wkiom1x7fdkyo9akaamocytgs0w775.jpg "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/73/5E/wKiom1X7ff2zxANeAAHxWeWBu0I195.jpg "title=" Qq20150918104015.png "alt=" Wkiom1x7ff2zxaneaahxwewbu0i195.jpg "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/73/5B/wKioL1X7gEKiH0gcAADyZp2sAKQ044.jpg "title=" Qq20150918104434.png "alt=" Wkiol1x7gekih0gcaadyzp2sakq044.jpg "/>

The reason for the error here is in the company, the network is limited, do not let download things, and then cause this maven-archetype-quickstart jar package download does not come down. The company is using the MAVEN library on its own server, which has already been downloaded. So no problem.

The company's network is limited to use the company's Maven library, or directly with the online Central Library on the line.

Similarly, you can create a DAO layer, a service layer, and a web layer, and the Web layer is different.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/73/61/wKiom1X7l9uCGeU4AAGm-3U558o682.jpg "title=" Qq20150918124809.png "alt=" Wkiom1x7l9ucgeu4aagm-3u558o682.jpg "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/73/61/wKiom1X7l_Kxzl6iAAK3-1B0Rpc418.jpg "title=" Qq20150918124843.png "alt=" Wkiom1x7l_kxzl6iaak3-1b0rpc418.jpg "/>

Here is not clear what the reason, the creation of this WebApp module, if connected, it may also be downloaded from the network, the results due to the company network restrictions, or can not be completed, has been stuck in creating Maven archetype99%. So I simply pull out the cable, and then create, fix.

For the parent project, because it is just a frame, so inside the SRC and some dependencies are all deleted, the final result

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/73/61/wKiom1X7mUnTaYjMAADJqfLmtaE416.jpg "title=" Qq20150918125527.png "alt=" Wkiom1x7muntayjmaadjqflmtae416.jpg "/>

This article is from the "Jodyrex" blog, make sure to keep this source http://503431920.blog.51cto.com/6681280/1695993

New MAVEN Project

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.