Configure Mac air Maven Environment

Source: Internet
Author: User

Mave Configuration

 

An error occurred while checking out the project:


Cocould not calculate build plan: failure to transfer Org. apache. maven. plugins: Maven-surefire-plugin: pom: 2.7.1 from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. original error: cocould not transfer artifact Org. apache. maven. plugins: Maven-surefire-plugin: pom: 2.7.1 from/to center (http://repo1.maven.org/maven2): Access denied to http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.7.1/maven-surefire-plugin-2.7.1.pom. error code 407, proxy authentication required (the ISA server requires authorization to fulfill the request. access to the Web Proxy service is denied .) log4j-test01 unknown Maven Problem

The repository in the settings. xml configuration file is not found.

Method:
Cd ~

Ls-Al

CD home

CD. m2

VI settings. xml

Copy settings. XML in the project and modify it:

Add this sentence <localrepository> ~ /. M2/Repository </localrepository>

 

Then configure in elasticsearch:

 

 

Configure Mac air Maven Environment

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.