eclipse异常:in project 'xxx' cannot be read or is not a valid ZIP file

版权声明:本文为原创文章,版权属文章作者所有,欢迎转载,请在文章底部注明原文链接,谢谢!邮箱:[email protected] https://blog.csdn.net/disalong/article/details/71218352

Archive forrequired library:'F:/java/workplaces/mvnrepository/org/hibernate/hibernate-core/5.1.5.Final/hibernate-core-5.1.5.Final.jar'in project 'xxx' cannot be read or is not a valid ZIP file



解决:升级你的eclipse版本,然后将它说的有异常的包的maven的仓库文件删掉,比如说F:/java/workplaces/mvnrepository/org/hibernate/hibernate-core/5.1.5.Final/hibernate-core-5.1.5.Final.jar这个文件有问题,将F:/java/workplaces/mvnrepository/org/hibernate/hibernate-core/5.1.5.Final目录删掉,然后编辑pom.xml文件,让maven重新下载,其他文件有问题也按照这个方法解决,直到全部解决。

猜你喜欢

转载自blog.csdn.net/disalong/article/details/71218352