The first line of the Pom file is an error org.apache.maven.plugins:maven-surefire-plugin:pom:2.12.4 from Https://repo.maven.apache.o__Java

Source: Internet
Author: User

Error code:

Description Resource Path Location Type

Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.12.4 from https://repo.maven.apache.org/ Maven2 is cached in the local repository, resolution won't be reattempted until the update interval of the "the", has Psed or updates are forced. Original error:could not transfer artifact org.apache.maven.plugins:maven-surefire-plugin:pom:2.12.4 from/to HTTPS://REPO.MAVEN.APACHE.ORG/MAVEN2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/151.101.24.215] Failed:connection timed Out:connect pom.xml/project source code _seckill-master Line 1 Maven Configuration Problem


Error:



Workaround:

First determine if your computer can connect to the network.

If you can connect to the network, execute the following command under the path of MAVEN's local library:

Open cmd run into the Maven warehouse as this is my maven download down package path: F:\IDE\apache-maven-3.2.1-bin\maven_jar Enter and enter the following command to return to see a lot of information

FOR/R%i in (*.lastupdated) Todo del%i


Finally, the project right-key->maven4myeclipse->update project ... Try refreshing the MAVEN project to see if you can succeed

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.