用eclipse创建一个maven管理的项目,创建完成后pom.xml报错!!急求怎么解决!! 10

Multipleannotationsfoundatthisline:-Pluginexecutionnotcoveredbylifecycleconfiguration... Multiple annotations found at this line:
- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:
2.3.2:compile (execution: default-compile, phase: compile)
- CoreException: Could not get the value for parameter compilerId for plugin execution default-compile:
PluginResolutionException: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.3.2 or one of its dependencies
could not be resolved: Failure to transfer org.codehaus.plexus:plexus-compiler-javac:jar:1.8.1 from http://
repo.maven.apache.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.codehaus.plexus:plexus-compiler-javac:jar:1.8.1 from/to central (http://repo.maven.apache.org/maven2):
java.io.IOException: Remotely Closed [id: 0x5aaf85a3, /192.168.1.114:52094 :> repo.maven.apache.org/103.245.222.184:80]
- CoreException: Could not get the value for parameter compilerId for plugin execution default-testCompile:
PluginResolutionException: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.3.2 or one of its dependencies
could not be resolved: Failure to transfer org.codehaus.plexus:plexus-compiler-javac:jar:1.8.1 from http://
repo.maven.apache.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.codehaus.plexus:plexus-compiler-javac:jar:1.8.1 from/to central (http://repo.maven.apache.org/maven2):
java.io.IOException: Remotely Closed [id: 0x5aaf85a3, /192.168.1.114:52094 :> repo.maven.apache.org/103.245.222.184:80]
- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:
2.3.2:testCompile (execution: default-testCompile, phase: test-compile)
展开
 我来答
LeenHLL
2016-08-02 · TA获得超过4085个赞
知道小有建树答主
回答量:599
采纳率:25%
帮助的人:367万
展开全部
有多种情况会导致这种报错,可以尝试以下5个方法:
1.项目右键:maven>install

2.项目右键:maven>clean
3.删除对应jar在仓库中的文件夹
4.在pom.xml中添加镜像地址:
<dependency>
<groupId></groupId>
<artifactId></artifactId>
<version></version>
</dependency>
=========以上4个方法结束后,项目右键>maven>update project
5.如果下载成功,仍然报错:
项目右键:maven>update project,勾选Force Update of Snapshots/Releases
本回答被网友采纳
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
ffggfly
2014-04-24 · TA获得超过353个赞
知道小有建树答主
回答量:663
采纳率:0%
帮助的人:374万
展开全部
更新一下项目
追问
怎么更新?
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式