Maven “Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:create...”问题总结(示例代

Posted zhanht

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Maven “Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:create...”问题总结(示例代相关的知识,希望对你有一定的参考价值。

今天学习Maven的过程中,一直遇到一个问题:用maven指令构建新项目时,一直报错,用的 Maven 3.2 , JDK 6。

构建的命令:

错误信息:

 

解决方案:

在StackOverFlow上找到了答案,maven 3.0.5 之后,不再使用 create 命令了,取而代之的是 generate 命令。

以上是关于Maven “Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:create...”问题总结(示例代的主要内容,如果未能解决你的问题,请参考以下文章

IDEA报错Failed to execute goal

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile

maven Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:create (default-c

Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.1.0

Maven - Failed to execute goal org.apache.maven.plugins:maven-clean-plugin