抠脚的名字 2013-11-14 13:44 采纳率: 0%
浏览 18594

myeclipse建立maven是pom.xml报错

用MyEclipse10建立maven web工程的时候,POM.XML总是报错,错误信息如下。还请大神们帮帮忙啊~~ 小弟感激涕零!!
Multiple annotations found at this line:
- No plugin found for prefix 'war' in the current project and in the plugin groups [] available from the
repositories [local (C:\Users\Guan Yang.m2\repository), central (http://repo1.maven.org/maven2)]
- Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom:2.4.3 from http://
repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update
interval of central has elapsed or updates are forced. Original error: Could not transfer artifact
org.apache.maven.plugins:maven-resources-plugin:pom:2.4.3 from/to central (http://repo1.maven.org/maven2): null to
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.4.3/maven-resources-
plugin-2.4.3.pom

  • 写回答

2条回答

  • fengshibosheng 2015-04-08 09:36
    关注

    是新安装的maven吧。在命令行中输入mvn help:system,等下载完成再刷新看看。http://www.blogjava.net/fancydeepin/archive/2012/07/13/eclipse_maven3_plugin.html

    评论

报告相同问题?

悬赏问题

  • ¥15 drone 推送镜像时候 purge: true 推送完毕后没有删除对应的镜像,手动拷贝到服务器执行结果正确在样才能让指令自动执行成功删除对应镜像,如何解决?
  • ¥15 求daily translation(DT)偏差订正方法的代码
  • ¥15 js调用html页面需要隐藏某个按钮
  • ¥15 ads仿真结果在圆图上是怎么读数的
  • ¥20 Cotex M3的调试和程序执行方式是什么样的?
  • ¥20 java项目连接sqlserver时报ssl相关错误
  • ¥15 一道python难题3
  • ¥15 牛顿斯科特系数表表示
  • ¥15 arduino 步进电机
  • ¥20 程序进入HardFault_Handler