问题描述:
使用Eclipse自带的Maven插件创建Web项目时报错:
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:RELEASE from any of the configured repositories.
Could not resolve artifact org.apache.maven.archetypes:maven-archetype-webapp:pom:RELEASE
Failed to resolve version for org.apache.maven.archetypes:maven-archetype-webapp:pom:RELEASE: Could not find metadata org.apache.maven.archetypes:maven-archetype-webapp/maven-metadata.xml in local (C:\Users\test\.m2\repository)
Failed to resolve version for org.apache.maven.archetypes:maven-archetype-webapp:pom:RELEASE: Could not find metadata org.apache.maven.archetypes:maven-archetype-webapp/maven-metadata.xml in local (C:\Users\test\.m2\repository)
在Eclipse Maven配置中添加新的Catalog配置:
接下来在使用刚添加的catalog创建web工程
原文地址:http://blog.csdn.net/afgasdg/article/details/12757433
相关推荐
Eclipse Maven 创建Web 项目报错 Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webap 之前找了很久才找到了,传上来更大家共享下,希望对大家有帮助,欢迎下载或者永久保存。
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后,创建项目时报错:Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:RELEASE from any of the configured repositories
Eclipse Maven 创建Web 项目报错 Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webap
新建maven项目时报Could not resolve archetype org.apache.maven.archetypes
资源是我从其他地方整理的,欢迎大家来下载,资源还不错。 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 -...
通过将这个压缩包下载到本地并加载到Eclipse中,我们可以避免因网络延迟或服务器问题而引发的“Could not resolve archetype”错误,提高项目创建速度。 描述中提到,下载这个压缩包后,将其加载到Eclipse,可以...
描述中提到的错误 "Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:1.1" 是一个常见的Maven构建问题,意味着在尝试创建基于Quickstart Archetype的新项目时,Maven无法找到...