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包全部删除后在新建项目,项目新建成功。

  • 相关阅读:
    Nginx配置文件nginx.conf中文详解(转)
    windows Nginx基本使用方法
    phpstorm 找到文件修改历史
    微信小程序模拟点击出现问题解决方法
    设置头像、商品、轮播图为背景图时需要的css
    div左右居中css
    自定义方形复选框
    css 调转180度:transform: rotate(180deg);
    js字符串转数字(小数),数字转字符串
    腾讯地图key秘钥
  • 原文地址:https://www.cnblogs.com/langxiansheng/p/10602965.html
Copyright © 2011-2022 走看看