解决使用maven的java web项目导入或新建添加pom配置后出现的有关问题 -cannot be read or is not a valid ZIP file
2018-02-09 11:52
1261 查看
解决方法:
删除提示错误路径下的所有jar包。 如:(C:\Documents and Settings\Administrator\.m2\repository\org...)
cmd命令行进入到web项目所在路径(cd:web项目的路径)—(a)输入mvn compile(编译源代码)回车;(b) mvn clean (清除目标目录中的生成结果)回车;(c)输入mvn clean install或者mvn clean install -DskipTests=true(下载所需jar)回车。
在eclipse中右键刷新项目即可。
删除提示错误路径下的所有jar包。 如:(C:\Documents and Settings\Administrator\.m2\repository\org...)
cmd命令行进入到web项目所在路径(cd:web项目的路径)—(a)输入mvn compile(编译源代码)回车;(b) mvn clean (清除目标目录中的生成结果)回车;(c)输入mvn clean install或者mvn clean install -DskipTests=true(下载所需jar)回车。
在eclipse中右键刷新项目即可。
相关文章推荐
- 解决使用maven的java web项目导入后出现的有关问题 -cannot be read or is not a valid ZIP file
- 解决使用maven的java web项目导入后出现的有关问题, -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
- 解决java web项目出现的有关问题 -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
- maven项目导入出现Type Archive for required library: XXX.jar cannot be read or is not a valid ZIP file
- Myeclipse10 添加工程中出现cannot be read or is not a valid ZIP file解决
- 关于Eclipse导入的Maven项目报:" cannot be read or is not a valid ZIP file"错误的解决方案
- maven项目 关于Eclipse报:" cannot be read or is not a valid ZIP file"的解决方案
- maven error: 用maven下载的spring jar包出现该异常 cannot be read or is not a valid ZIP file
- Myeclipse的problem中出现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
- 构建maven项目报cannot be read or is not a valid ZIP file 错
- cannot be read or is not a valid ZIP file问题
- maven 异常 提示 cannot be read or is not a valid ZIP file
- Maven异常_05_Archive for required library cannot be read or is not a valid ZIP file
- 解决 eclipse XXX cannot be read or is not a valid ZIP file