Eclipse creates Maven

Source: Internet
Author: User

Maven failed to create file

(1) Problem tip: Could not calculate build Plan:plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependen Cies could not being resolved:failure to transfer org.apache.maven.plugins:maven-resources-plugin:jar:2.6 from https:// Repo.maven.apache.org/maven2 was cached in the local repository, resolution won't be reattempted until the update inter Val of central have elapsed or updates are forced. Original error:could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:jar:2.6 from/to Central ( HTTPS://REPO.MAVEN.APACHE.ORG/MAVEN2): Connect timed out

Plugin Org.apache.maven.plugins:maven-re

Workaround: Because the file downloaded under the corresponding folder is incomplete, delete the file under the folder and re-project->build all. Download again.

(2) Problem tip: Could not calculate build Plan:plugin org.apache.maven.plugins:maven-jar-plugin:2.4 or one of its dependencie s could not being resolved:failure to transfer org.apache.maven.plugins:maven-jar-plugin:jar:2.4 from https:// Repo.maven.apache.org/maven2 was cached in the local repository, resolution won't be reattempted until the update inter Val of central have elapsed or updates are forced. Original error:could not transfer artifact org.apache.maven.plugins:maven-jar-plugin:jar:2.4 from/to Central (https:// REPO.MAVEN.APACHE.ORG/MAVEN2): Connect timed out

Plugin org.apache.maven.plugins:maven-jar-plugin:2.4 or one of its dependencies could not being resolved:failure to transfer org.apache.maven.plugins:maven-jar-plugin:jar:2.4 from Https://repo.maven.apache.org/maven2 is cached in the local Repository, resolution is not being reattempted until the update interval of the central have elapsed or updates are forced. Original error:could not transfer artifact org.apache.maven.plugins:maven-jar-plugin:jar:2.4 from/to Central (https:// REPO.MAVEN.APACHE.ORG/MAVEN2): Connect timed out

Workaround: Because the file downloaded under the corresponding folder is incomplete, delete the file under the folder and re-project->build all. Download again.




May be the problem of network speed, in the \.m2\repository\org\apache\maven\plugins, the folder has a lot of things not finished downloading. Therefore, if you encounter a similar problem in the future, it should be incomplete.


Eclipse creates Maven

Related Article

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.