码迷,mamicode.com
首页 > 系统相关 > 详细

eclipse导包plugins等问题

时间:2018-05-08 22:24:12      阅读:204      评论:0      收藏:0      [点我收藏+]

标签:strong   apach   des   ted   刷新   org   cli   pac   size   

Maven 导入项目时报错:

Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.3
Plugin org.apache.maven.plugins:maven-war-plugin:2.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.3

..................................

 

解决办法:

1.清除你的仓库

(默认为:C:\Users\用户名\.m2\repository\org\apache\maven\plugins\maven-war-plugin\2.3)

 目录下的m2e-lastUpdated.properties文件

 

2.项目右键,Run As-->Maven clean

 

3.项目右键,Run As-->Maven install

 

4.项目右键,Maven-->Update Project..

 

5.刷新或者清理一下项目。over!

eclipse导包plugins等问题

标签:strong   apach   des   ted   刷新   org   cli   pac   size   

原文地址:https://www.cnblogs.com/ljk-007/p/9010915.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!