Solution: SPRINGMVC Maven project has not been built after the SRC directory

Source: Internet
Author: User
Tags aliyun

Preface: In the construction of SPRINGMVC Maven project encountered problems to summarize, for example, there is no src after the construction, but also here to solve the problem of Maven import is very slow.

Problem:

1, found that the MAVEN project was created without SRC file, and Maven import is very slow

Workaround:

At this time of the new project (for example), click on the plus sign, fill in the Name Input box Archetypecatalog, fill in the input box of value internal, click OK;

Then add the following code to the selected Maven profile Setting.xml and save it back to idea.

<Mirror>        <ID>Alimaven</ID>        <mirrorof>Central</mirrorof>        <name>Aliyun maven</name>      <URL>http://maven.aliyun.com/nexus/content/repositories/central/</URL></Mirror>

Click Next to continue building the system.

After setting the appearance:

Solution: SPRINGMVC Maven project has not been built after the SRC directory

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.