Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:jar:2.5.1

Source: Internet
Author: User

A piece of maven-based Java code was written on the Mac.

After uploading git, pull down on windows and various errors in eclipse.

Artifacttransferexception:failure to transfer org.apache.maven.plugins:maven-compiler-plugin:jar:2.5.1 from http: // Maven.oschina.net/content/groups/public was cached in the local repository, resolution would not be reattempted until T He update interval of CN has elapsed or updates is forced. Original error:could not transfer artifact org.apache.maven.plugins:maven-compiler-plugin:jar:2.5.1 from/to CN ( c6>http://maven.oschina.net/content/groups/public/): Connection Reset

Later, in the StackOverflow above found the answer to solve the problem I encountered, now try to come down OK.

StackOverflow original link:http://stackoverflow.com/questions/5074063/maven-error-failure-to-transfer

Best regards,

Lucas Luo

Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:jar:2.5.1

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.