[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:create (default-c
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:create (default-c相关的知识,希望对你有一定的参考价值。
问题:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:create (default-cli) on project standalone-pom: Unable to parse configuration of 3: mojo org.apache.maven.plugins:maven-archetype-plugin:2.4:create for parameter #: Cannot create instance of interface org.apache.maven.artifact.repository.ArtifactRepository -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginConfigurationException
操作:
mvn archetype:create -DgroupId=me.slp -DartifactId=system-domain -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false
解决办法:
1 mvn archetype:generate -DgroupId=me.slp -DartifactId=system-domain -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false
maven在3.0.5及以上就建议采用genrate命令了,建议大家尽量采用genrate代替create命令。
以上是关于[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:create (default-c的主要内容,如果未能解决你的问题,请参考以下文章
Error: failed to execute 'C:KeilARMARMCC'的解决办法
Java Error: Failed to validate certificate. The application will not be executed
Android异常篇 Error: Execution failed for task ‘:app:clean‘. Unable to delete file
Error:Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define xxxx
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:create (default-c
vue 项目报错:Error in nextTick: "InvalidCharacterError: Failed to execute 'setAttribute' on