2 aiping2112 aiping2112 于 2013.11.14 21:44 提问

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
fengshibosheng   2015.04.08 17:36

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

znoone
znoone   2017.12.05 11:45

你好,我也遇见了
,请问你解决了吗?

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!