`

Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp-1

 
阅读更多
办法1:
eclipse创建maven工程报错 Could not resolve archetype org.apache.maven.archetypes 解决  http://canann.iteye.com/blog/1860856
错误:
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp-1.0.jar:RELEASE from any of the configured repositories.
Could not resolve artifact
Missing org.apache.maven.archetypes:maven-archetype-quickstart:pom:RELEASE

解决思路:在本地库中装载maven-archetype-webapp-1.0.jar
第1步.从http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/maven/archetypes/maven-archetype-webapp-1.0.jar, 或者 http://www.java2s.com/Code/JarDownload/maven-archetype/maven-archetype-webapp-1.0.jar.zip
下载最新版maven-archetype-webapp-1.0.jar
第2步.cmd窗口执行mvn install:install-file -DgroupId=org.apache.maven.archetypes -DartifactId=maven-archetype-webapp -Dversion=1.0 -Dpackaging=jar -Dfile=/mnt/D/DevTools/jar_to_local_maven/maven-archetype-webapp-1.0.jar, 记得打开setting.xml的代理ssh代理,才能下载其他依赖.
红字是你jar包放在的位置


办法2:
I had the same problem. I fixed it by adding the maven archetype catalog to eclipse. Steps are provided below:

Open Window > Preferences
Open Maven > Archetypes
Click 'Add Remote Catalog' and add the following:
Catalog File: http://repo1.maven.org/maven2/archetype-catalog.xml
Description: maven catalog
分享到:
评论

相关推荐

    Maven更新失败,Cannot resolve plugin org.apache.maven.plugins:maven-compiler-plugin:3.1

    在apache-maven-3.5.2/conf/setting.xml中加入以下配置即可解决 alimaven aliyun maven http://maven.aliyun.com/nexus/content/repositories/central/ central junit junit Address/ ...

    稀缺资源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 -...

    tomcat8-maven-plugin-3.0-r1655215.jar

    解决tomcat8-maven-plugin-3.0-r1655215.jar阿里云同有的问题。放到路径org\apache\tomcat\maven\tomcat8-maven-plugin\3.0-r1655215\就可以了

    Could not resolve dependencies for project org.apache.hive:hive-exec:jar:2.3.0:

    hive 开发UDF 使用maven工程 引发jar包缺失 hive 开发UDF 使用maven工程 引发jar包缺失

    maven_archetype-catalog.zip

    通过将这个压缩包下载到本地并加载到Eclipse中,我们可以避免因网络延迟或服务器问题而引发的“Could not resolve archetype”错误,提高项目创建速度。 描述中提到,下载这个压缩包后,将其加载到Eclipse,可以...

    Could not resolve com.huawei.agconnect agcp-1.6.x.xxx

    按官方配置好了 developer.... Could not resolve com.huawei.agconnect 解决方法:把相应的插件用本地化安装 agconnect-crash-symbol-lib-1.6.1.300.jar agconnect-apms-plugin-1.6.1.300.jar agcp-1.6.1.300.jar。

    kafka-schema-registry-client-6.2.2.jar

    Could not resolve dependencies for project org.apache.flink:flink-avro-confluent-registry:jar:1.15.3: Could not find artifact io.confluent:kafka-schema-registry-client:jar:6.2.2 in maven 安装本地...

    archetype-catalog.xml

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

    Eclipse archetype-catalog.xml

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

    archetype-catalog.zip

    Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:1.0 from any of the configured repositories. Could not resolve artifact org.apache.maven.archetypes:maven-archetype-...

    Apache.Maven.Cookbook.1785286129

    Chapter 1: Getting Started Chapter 2: IDE Integration with Maven Chapter 3: Maven Lifecycle Chapter 4: Essential Maven Plugins Chapter 5: Dependency Management Chapter 6: Code Quality Plugins Chapter ...

    org.apache.poi-ooxml-schemas-3.9 jar包

    "org.apache.poi-ooxml-schemas-3.9.jar" 是这个项目中的一个组件,它包含了用于解析和生成Open XML(OOXML)标准的Schema定义。 OOXML是Microsoft推出的一种新的XML文件格式,用于替代传统的二进制文件格式,例如....

    org.apache.poi.xwpf.converter.core-1.0.6

    org.apache.poi.xwpf.converter.core-1.0.6org.apache.poi.xwpf.converter.core-1.0.6org.apache.poi.xwpf.converter.core-1.0.6org.apache.poi.xwpf.converter.core-1.0.6

    archetype-catalog

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

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

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

Global site tag (gtag.js) - Google Analytics