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 Maven 创建Web 项目报错 Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webap 之前找了很久才找到了,传上来更大家共享下,希望对大家有帮助,欢迎下载或者永久保存。
解决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",然后在Eclipse的Maven设置中,找到"Archetypes"选项,点击"Add Archetype Catalog",选择本地的"archetype-catalog.xml"文件。完成这些步骤后,Eclipse就可以使用...
Eclipse Maven 创建Web 项目报错 Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webap
使用Eclipse整合Maven后,创建项目时报错:Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:RELEASE from any of the configured repositories
新建maven项目时报Could not resolve archetype org.apache.maven.archetypes
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 Maven 创建Web 项目报错 Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webap
描述中提到的错误 "Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:1.1" 是一个常见的Maven构建问题,意味着在尝试创建基于Quickstart Archetype的新项目时,Maven无法找到...