FIX: Failure to transfer org.apache.maven.plugins:maven-jar-plugin:pom:2.4 from error

Source: Internet
Author: User

The following error occurred while using maven:
Failure to transfer org.apache.maven.plugins:maven-jar-plugin:pom:2.4 from Https://repo.maven.apache.org/maven2 is Cached in the local repository, resolution won't is reattempted until the update interval of central have elapsed or upd Ates is forced.

Analyze the problem: After reviewing the data, it is assumed that it is a package problem.

1. Find Maven's package location: Window->preferences->maven->user settings found.
Generally in: {user.home}.m2\repository

2, to see which package is the problem, for example: My problem is the Org.apache.maven.plugins:maven-jar-plugin package 2.4 out of the problem.
Then find: C:\Users\Admin.m2\repository\org\apache\maven\plugins\maven-jar-plugin\2.4 Delete this package.

3. Back to eclipse right-click Project Selection maven->update ...

Not once, but a few more times.

Principle: Maven Package error, delete the good ...

FIX: Failure to transfer org.apache.maven.plugins:maven-jar-plugin:pom:2.4 from error

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.