创建 maven maven-archetype-quickstart 项目抱错问题解决方法
2017-10-22 22:51
375 查看
创建 maven maven-archetype-quickstart 项目抱错问题解决方法
问题:
eclipse装m2eclipse的时候装完后创建项目的时候报错:
Unable to create project from archetype org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE
解决方法:
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
问题:
eclipse装m2eclipse的时候装完后创建项目的时候报错:
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE from any of the configured repositories.
解决方法:
步骤一:
从http://maven.oschina.net/content/groups/public/org/apache/maven/archetypes/maven-archetype-quickstart/ 下载最新版maven-archetype-quickstart-1.1.jar
步骤二:
命令行到下载目录下执行
mvn install:install-file -DgroupId=org.apache.maven.archetypes -DartifactId=maven-archetype-quickstart -Dversion=1.1 -Dpackaging=jar -Dfile=maven-archetype-quickstart-1.1.jar
重新打开发工具创建maven项目
问题:
eclipse装m2eclipse的时候装完后创建项目的时候报错:
Unable to create project from archetype org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE
解决方法:
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
问题:
eclipse装m2eclipse的时候装完后创建项目的时候报错:
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE from any of the configured repositories.
解决方法:
步骤一:
从http://maven.oschina.net/content/groups/public/org/apache/maven/archetypes/maven-archetype-quickstart/ 下载最新版maven-archetype-quickstart-1.1.jar
步骤二:
命令行到下载目录下执行
mvn install:install-file -DgroupId=org.apache.maven.archetypes -DartifactId=maven-archetype-quickstart -Dversion=1.1 -Dpackaging=jar -Dfile=maven-archetype-quickstart-1.1.jar
重新打开发工具创建maven项目
相关文章推荐
- 创建 maven maven-archetype-quickstart 项目抱错问题解决方法
- 创建 maven maven-archetype-quickstart 项目抱错问题解决方法
- 解决创建maven项目Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart问题
- android studio创建项目编译出错问题的解决方法
- 解决Idea创建maven-archetype-webapp项目无java目录的问题
- 解决使用eclipse创建maven web项目时报Could not resolve archetype的问题
- 解决Idea创建maven-archetype-webapp项目无java目录的问题
- 解决Idea创建maven-archetype-webapp项目无java目录的问题
- 解决使用eclipse创建maven web项目时报Could not resolve archetype的问题
- mac 使用MyEclipse时遇到无法创建web项目问题解决方法
- 解决Idea创建maven-archetype-webapp项目无java目录的问题
- 解决IntelliJ IDEA 创建Maven项目速度慢问题 DarchetypeCatalog
- 解决Idea创建maven-archetype-webapp项目无java目录的问题
- VS2005 无法创建或打开“智能设备”项目的一个问题的解决方法
- 创建WCF服务项目遇到的问题以及解决方法
- 有关于WCSF创建项目的问题解决方法
- 解决Intellij IDEA 通过archetype创建Maven项目缓慢的问题
- 【转】VS2005 无法创建或打开“智能设备”项目的一个问题的解决方法
- VS2005无法创建或打开”智能设备”项目的一个问题的解决方法