maven提示错误的解决办法

import或者new一个的maven project的时候,提示如下错误

Description    Resource    Path    Location    Type
Cannot read lifecycle mapping metadata for
artifact org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.6:runtime Cause: error in opening zip file    pom.xml    /dubbotest.prducer    line 1    Maven Project Build Lifecycle Mapping Problem

上面提示不能阅读maven的resource插件

解决办法如下:

 

 

点击ok之后,

 

更新项目依赖即可。

posted @ 2015-04-05 16:17  唾手可得的树  阅读(2339)  评论(0编辑  收藏  举报