报错Archive for required library: 'XXX' in project 'XXX' cannot be read or is not a valid ZIP file
2018-02-27 10:16
591 查看
报错内容:
Archive for required library: 'D:/repository/org/mybatis/mybatis/3.4.5/mybatis-3.4.5.jar' in project 'demo' cannot be read or is not a valid ZIP file
解决办法:
以我的报错提示为例,
找到D:/repository/org/mybatis/mybatis/3.4.5/mybatis-3.4.5.jar该路径下jar包,删除对应文件
右击项目——maven——update project,此时eclipse会自动下载正确的文件,问题解决。
————————————————
相关报错:Project configuration is not up-to-date with pom.xml. Select: Maven->Update Project... from the project context menu or use Quick Fix.
问题描述:此报错,有时候按报错提示操作(即Maven->Update Project)后无效,依然报错。
问题原因:可能是因为在点击Maven->Update Project的弹出窗口中 有个感叹号提示 还有其他需要更新的项目未被选中导致,点击那行提示的蓝色check选中后更新即可。
Archive for required library: 'D:/repository/org/mybatis/mybatis/3.4.5/mybatis-3.4.5.jar' in project 'demo' cannot be read or is not a valid ZIP file
解决办法:
以我的报错提示为例,
找到D:/repository/org/mybatis/mybatis/3.4.5/mybatis-3.4.5.jar该路径下jar包,删除对应文件
右击项目——maven——update project,此时eclipse会自动下载正确的文件,问题解决。
————————————————
相关报错:Project configuration is not up-to-date with pom.xml. Select: Maven->Update Project... from the project context menu or use Quick Fix.
问题描述:此报错,有时候按报错提示操作(即Maven->Update Project)后无效,依然报错。
问题原因:可能是因为在点击Maven->Update Project的弹出窗口中 有个感叹号提示 还有其他需要更新的项目未被选中导致,点击那行提示的蓝色check选中后更新即可。
相关文章推荐
- eclipse异常:in project 'xxx' cannot be read or is not a valid ZIP file
- Archive for required library: "xxxx" in project '*' 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
- Archive for required library: "xxxx" in project '*' cannot be read or is not a valid ZIP file
- Archive for required library: "xxxx" in project '*' cannot be read or is not a valid ZIP file
- maven项目导入出现Type Archive for required library: XXX.jar cannot be read or is not a valid ZIP file
- eclipse maven error: Archive for required library in project cannot be read or is not a valid ZIP 问题
- 解决 eclipse XXX cannot be read or is not a valid ZIP file
- eclipse maven error: Archive for required library in project cannot be read or is not a valid ZIP fi
- xxx cannot be read or is not a valid ZIP file 解决方案
- maven 异常 提示 cannot be read or is not a valid ZIP file
- eclipse导入项目Archive for required library cannot be read or is not a valid ZIP file
- cannot be read or is not a valid ZIP file
- 解决java 项目导入后出现的问题 ---cannot be read or is not a valid ZIP file
- 解决java web项目导入后出现的问题 ---cannot be read or is not a valid ZIP file
- 解决java web项目出现的有关问题 -cannot be read or is not a valid ZIP file
- X cannot be read or is not a valid ZIP file
- 解决使用maven的java web项目导入后出现的有关问题 -cannot be read or is not a valid ZIP file
- 解决java web项目导入后出现的有关问题 -cannot be read or is not a valid ZIP file
- Archive for required library xx cannot be read or is not a valid ZIP file