在项目中导入别人的maven项目时报错:Archive required for library “xxx” cannot be read or is not a valid zip file

网上查找了相应的解决方法,都是说eclipse自身的bug 或者是删除根目录的.classpath文件,找到“<classpathentry kind=”lib” path=”WebContent/WEB-INF/lib/readme.txt”/>”这一行,删掉

但其实不是这样的,出现这个报错的根本原因是eclipse在下载jar包依赖的时候没有下载完整的jar包导致了jar包无效,这时需要根据报错提示的报错找到本地maven仓库的jar包依赖,然后删除,重新下载,最后更新maven项目即可;

相关文章:

  • 2021-11-23
  • 2021-05-29
  • 2021-08-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-24
  • 2022-12-23
猜你喜欢
  • 2021-11-29
  • 2021-07-24
  • 2022-12-23
  • 2021-12-25
  • 2022-12-23
  • 2021-09-08
相关资源
相似解决方案