当前位置 : 主页 > 编程语言 > java >

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

来源:互联网 收集:自由互联 发布时间:2023-03-22
用的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

用的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窗口执行: [b][color=blue]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[/color][/b]

上一篇:MySQL全文索引
下一篇:没有了
网友评论