Maven creates webapp (2) and maven creates webapp

Source: Internet
Author: User
Tags gc overhead limit exceeded

Maven creates webapp (2) and maven creates webapp

This section describes how to use maven to create a simple webapp project under myeclipse.

 

The web Development maven repository automatically adds components, so you need to keep the network smooth.

 

Open myeclipse --> File --> project --> select Maven Project --> next -->

 

We chose to create a simple webapp project. If maven is used for the first time, the local repository needs to download some basic common builds from the remote repository, this process is time-consuming (I want to say it's time-consuming for TMD ).

Certificate ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Problem: An internal error occurred during: "Retrieving archetypes:". GC overhead limit exceeded

If the gc overhead limit exceeded eclipse error occurs: The cause is that the memory configured by eclipse is too small by default, You need to modify the eclipse. ini file under the eclipse Installation File.

Use vim to open the/etc/eclipse. ini file

Modify the following content to-Xms 512 m (minimum initial memory)-Xmx 1024 m (maximum memory occupied)-XX: MaxpermSize = 1024 m (maximum memory occupied during compilation)

Restart myeclipse.

Certificate --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

--> Select a webapp --> next -->

Group id: select a name (such as cn)

Artifact id: Name (for example, web)

--> After finishing, you can see the web project (such as) in the workspace --> the creation is complete.

 

 

 

 

 

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.