zoukankan      html  css  js  c++  java
  • Eclipse使用Maven创建Web时错误:Could not resolve archetype

    请检查maven的setting 是否有问题。
    window->Perfenence->maven->User Settings里 看 Gloal Setting和User Setting是否一致。

    修改成一致后解决。

    如果还是有问题 ,可以在maven的安装目录的conf文件夹下 对setting.xml加入阿里的镜像。

    这样提高下载速度。

    <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"  
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
             xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0  
                http://maven.apache.org/xsd/settings-1.0.0.xsd">  
          
        <!-- 这个是配置阿里Maven镜像 -->  
        <mirrors>  
            <mirror>  
              <id>aliyun</id>  
              <name>aliyun</name>  
              <url>http://maven.aliyun.com/nexus/content/groups/public/</url>  
              <mirrorOf>central</mirrorOf>  
            </mirror>  
        </mirrors>  
          
       
    </settings>  
    

      

  • 相关阅读:
    线程池问题
    高级I/O
    闹钟设计
    线程竞争问题
    线程基本函数
    SpringMvc支持跨域访问
    gitlab qq邮件配置
    gitlab断电
    docker run always
    电子书网
  • 原文地址:https://www.cnblogs.com/wingfay/p/8487503.html
Copyright © 2011-2022 走看看