zoukankan      html  css  js  c++  java
  • eclipse新建maven项目报错Could not resolve arachetype org.apache.maven.archetypes:mmaven-archetype-quickstart:1.1 from any of the configured repositories

    使用eclipse新建maven项目,按下图所示选择后,报错

    报错截图

     报错详细信息

    Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:1.1 from any of the configured repositories.
    Could not resolve artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1
    Failure to transfer org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 from http://maven.aliyun.com/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of alimaven has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 from/to nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public): maven.aliyun.com
    Failure to transfer org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 from http://maven.aliyun.com/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of alimaven has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 from/to nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public): maven.aliyun.com

    附翻译

      不能解决原型org.apache.maven.archetypes: maven-archetype-quickstart:从1.1的任何配置存储库。
      不能解决工件org.apache.maven.archetypes: maven-archetype-quickstart: pom: 1.1
      故障转移org.apache.maven.archetypes: maven-archetype-quickstart: pom: 1.1从http://maven.aliyun.com/nexus/content/groups/public缓存在本地存储库,解决之前不会再尝试的更新间隔alimaven强制运行或更新。原始错误:无法传输工件org.apache.maven.archetypes: maven-archetype-quickstart: pom: 1.1 / nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public): maven.aliyun.com
      故障转移org.apache.maven.archetypes: maven-archetype-quickstart: pom: 1.1从http://maven.aliyun.com/nexus/content/groups/public缓存在本地存储库,解决之前不会再尝试的更新间隔alimaven强制运行或更新。原始错误:不能怪罪别人

    之前也用此选择新建过项目是可以新建的,突然报错,按照下面这篇文章所讲的方法还是没有解决问题

    https://www.cnblogs.com/suncoolcat/p/3366080.html

    最后将本地仓库中下载的jar包全部删除后在新建项目,项目新建成功。

  • 相关阅读:
    常见的线性结构
    Lambda表达式学习笔记
    Spring Security 入门 (二)
    Spring Security 入门(一)
    Eclipse 创建 Maven 项目
    初学 Spring MVC(基于 Spring in Action)
    蓝桥杯之入学考试
    Java 学习总结
    二叉搜索树和红黑树
    Detours 劫持
  • 原文地址:https://www.cnblogs.com/langxiansheng/p/10602965.html
Copyright © 2011-2022 走看看