zoukankan      html  css  js  c++  java
  • eclispe 创建maven 项目:Could not resolve archetype org.apache.maven.archetypes

    昨天新装eclispe 后,创建maven工程后出现

    Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE from any of the configured repositories.
      Could not resolve artifact
        Missing org.apache.maven.archetypes:maven-archetype-quickstart:pom:RELEASE

    网上的解决办法:

    http://blog.csdn.net/u011340807/article/details/12649249

    http://www.cnblogs.com/quanyongan/archive/2013/04/17/3025971.html

    自己的解决办法:

    修改了maven 仓库地址: 在maven 的conf目录下setting.xml配置文件中,修改仓库地址

      <localRepository>/path/to/local/repo</localRepository> 修改自己对应的路径。

     另一种错误:
    Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
    Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
     解决办法:
     
  • 相关阅读:
    操作系统指纹
    扫描工具
    ms08_067利用过程
    SQL注入攻击
    SMB/CIFS协议解析
    蓝桥杯 历届试题 大臣的旅费
    九度oj 题目1009:二叉搜索树
    蓝桥杯 算法提高 6-17 复数四则运算
    poj 2182 Lost Cows
    poj 2501 Average Speed
  • 原文地址:https://www.cnblogs.com/zhanggl/p/4455322.html
Copyright © 2011-2022 走看看