Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:create (default-cli) on p
2016-06-21 18:03
651 查看
[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 mojo org.apache.maven.plugins:maven-archetype-plugin:2.4:create for parameter #: Abstract class
or interface 'org.apache.maven.artifact.repository.ArtifactRepository' cannot be instantiated -> [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
错误因可能是 archetype:create命令已经过期,需要使用 archetype:generate 来进行代替
例如:
mvn archetype:generate -DgroupId=org.project -DartifactId=project -DarchetypeArtifactId=maven-archetype-webapp
or interface 'org.apache.maven.artifact.repository.ArtifactRepository' cannot be instantiated -> [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
错误因可能是 archetype:create命令已经过期,需要使用 archetype:generate 来进行代替
例如:
mvn archetype:generate -DgroupId=org.project -DartifactId=project -DarchetypeArtifactId=maven-archetype-webapp
相关文章推荐
- WIndows AD 组策略Default Domain Controllers Policy排错分享
- svn remains in tree-conflict
- sleep和wait区别
- haxm failed to open driver
- Capturing self strongly in this block is likely to lead to retain cycle的问题
- 【AI教程 – 初级】用钢笔工具绘制矢量铅笔图标
- INSTALL_FAILED_UNKNOWN_SOURCES问题,怎样解决?
- saiku 元数据存储分析
- saiku 元数据存储分析
- 关于项目配置、链接库冲突、main参数输入
- [AIR] AS3.0设置屏保功能
- AFNetworking 3.0 https 报错问题 CFNetwork SSLHandshake failed (-9801)
- saiku (branch 3.8-release)构建步骤
- How to create and compile a Xenomai helloworld program
- 2016.6.21——Climbing Stairs
- 如何安装ARM toolchain
- AIX 11204 root.sh 无法启动haip
- Climbing Stairs
- 互斥量、条件变量与pthread_cond_wait()函数的使用
- linux vsftpd 550 create directory operation failed解决方法