Archive for required library:xxxxx/spring-beans-3.2.4.RELEASE.jar in project XXXXX cannot be read or is not a valid ZIP file

今天在导入maven项目的时候在problems视图中报错:

  Archive for required library:xxxxx/spring-beans-3.2.4.RELEASE.jar in project XXXXX cannot be read or is not a valid ZIP file

  Archive for required library:xxxxx/spring-beans-3.2.4.RELEASE.jar in project XXXXX cannot be read or is not a valid ZIP file

网上的有一下解决方法:

  1.close project 然后open project。

  2.重新启动eclips。

  3.去.m2资源库中删除报错的jar包,然后选中项目:右键->Maven4Myeclipse->Update Dependencies,重新下载相关的jar包。

  4.如果还报其他jar包的错误,就重复第三条操作。

  

上一篇:Java多线程初学者指南(7):向线程传递数据的三种方法


下一篇:Archive for required library: 'D:/Program Files/Apache/maven-repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar'