`

Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quicksta

 
阅读更多
http://blog.csdn.net/ranrui1314/article/details/7094779

用的myeclipse8,自己装了apache-maven-3.0.3并做好配置,但在新建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



解决思路:在本地库中装载maven-archetype-quickstart

1.从http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/maven/archetypes/maven-archetype-quickstart/
下载最新版maven-archetype-quickstart-1.1.jar

2.cmd窗口执行:
mvn install:install-file -Dfile=/mnt/d/work_documents/jar2mvn/maven-archetype-quickstart-1.1.jar -DgroupId=org.apache.maven.archetypes -DartifactId=maven-archetype-quickstart -Dversion=1.1 -Dpackaging=jar
分享到:
评论

相关推荐

    稀缺资源Eclipse archetype-catalog.xml

    Eclipse Maven 创建Web 项目报错 Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webap 之前找了很久才找到了,传上来更大家共享下,希望对大家有帮助,欢迎下载或者永久保存。

    maven-archetype-quickstart-1.1.jar下载

    解决Unable to create project from archetype [org.apache.maven.archetypes:maven-archetype-quickstart:1.1] 1. 下载maven-archetype-quickstart-1.1.jar 文件地址: 2.cmd窗口执行mvn install:install-file -...

    maven_archetype-catalog.zip

    首先,我们需要解压"maven_archetype-catalog.zip",然后在Eclipse的Maven设置中,找到"Archetypes"选项,点击"Add Archetype Catalog",选择本地的"archetype-catalog.xml"文件。完成这些步骤后,Eclipse就可以使用...

    Eclipse archetype-catalog.xml

    Eclipse Maven 创建Web 项目报错 Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webap

    archetype-catalog.xml

    使用Eclipse整合Maven后,创建项目时报错:Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:RELEASE from any of the configured repositories

    archetype-catalog

    新建maven项目时报Could not resolve archetype org.apache.maven.archetypes

    archetype-catalog.zip

    Eclipse Maven 创建Web 项目报错 Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webap Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:1.0 from any...

    完整版本-Eclipse archetype-catalog.xml.zip

    资源是我从其他地方整理的,欢迎大家来下载,资源还不错。 Eclipse Maven 创建Web 项目报错 Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webap

    quickstart.rar

    描述中提到的错误 "Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:1.1" 是一个常见的Maven构建问题,意味着在尝试创建基于Quickstart Archetype的新项目时,Maven无法找到...

Global site tag (gtag.js) - Google Analytics