使用MAVEN创建项目报错Failed to execute goal org.appche.maven.plugings:maven-archetype-plgin:2.4
2015-10-13 16:32
465 查看
按照教程安装maven后,打开cmd窗口,输入命令:mvn -v
![](https://oscdn.geek-share.com/Uploads/Images/Content/202007/20/bd60558a5345d442c5c0d57670c77195)
表示maven环境变量配置正确。
然后开始输入命令
mvn archetype:create -DgroupId=cn.my.maven.quickstart -DartifactId=simple -DarchetypeArtifactId=maven-archetype-quickstart
创建项目时报错。
![](https://oscdn.geek-share.com/Uploads/Images/Content/202007/20/699ea9b6fee701500ad4e557f9ce9c88)
经过最后的测试,将命令:archetype:create命令改成archetype:generate就可以了。
表示maven环境变量配置正确。
然后开始输入命令
mvn archetype:create -DgroupId=cn.my.maven.quickstart -DartifactId=simple -DarchetypeArtifactId=maven-archetype-quickstart
创建项目时报错。
经过最后的测试,将命令:archetype:create命令改成archetype:generate就可以了。
相关文章推荐
- "plugin container for firefox已停止工作"的解决办法
- poj 1411 Calling Extraterrestrial Intelligence Again 筛素数
- How-to: 安装 SharePoint 后,配置失败: Failed to register SharePoint services
- activity_main cannot be resolved or is not a field
- assign copy retain
- CodeForces #325 D. Phillip and Trains
- strong,weak,copy,retain和assign的区别
- CF 486D vailid set 树形DP
- 【Codeforces Round #325 (Div. 2)】D. Phillip and Trains
- Activity四大组件之Service 方式一AIDl(BInderService方式)
- HDU 4819 Mosaic(二维线段树)
- Dailog开发新方法
- 解决 recv() failed (104: Connection reset by peer) while reading response header from upstream
- Codeforces 586D Phillip and Trains dfs —— Round #325 (Div. 2)
- wait_event_interruptible()与wake_up()的使用
- explaination
- Shiro-1.2.2内置的FilterChain
- Codeforces Round #325 (Div. 2) D. Phillip and Trains BFS
- 【转】svn cleanup failed–previous operation has not finished; run cleanup if it was interrupted
- Gmail邮箱打不开怎么办?国内怎么上gmail邮箱