intellij idea 2016 新建maven2模板项目 出如下错误。
[INFO]Scanningforprojects...[INFO]---------------------------------------------------...
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error resolving version for 'org.apache.maven.plugins:maven-archetype-plugin': Plugin requires Maven version 3.0
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Mon Sep 04 18:38:18 CST 2017
[INFO] Final Memory: 2M/121M
[INFO] ------------------------------------------------------------------------
[ERROR] Maven execution terminated abnormally (exit code 1) 展开
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error resolving version for 'org.apache.maven.plugins:maven-archetype-plugin': Plugin requires Maven version 3.0
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Mon Sep 04 18:38:18 CST 2017
[INFO] Final Memory: 2M/121M
[INFO] ------------------------------------------------------------------------
[ERROR] Maven execution terminated abnormally (exit code 1) 展开
1个回答
2017-09-05
展开全部
Plugin requires Maven version 3.0:插件需要Maven 3.0版本,你的是2.0 不支持
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询