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

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重新下载,其他文件有问题也按照这个方法解决,直到全部解决。

你可能感兴趣的:(maven)