java.util.zip.ZipException: error in opening zip file

原创 2018年04月17日 13:30:52
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:215)
at java.util.zip.ZipFile.<init>(ZipFile.java:145)
at java.util.jar.JarFile.<init>(JarFile.java:154)
at java.util.jar.JarFile.<init>(JarFile.java:91)
at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:93)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:69)
at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:99)
at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122)
at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:111)
at org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java:736)
at org.apache.catalina.startup.ContextConfig.beforeStart(ContextConfig.java:861)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:389)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:394)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:144)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1092)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1984)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at java.lang.Thread.run(Thread.java:745)

答:war包文件有损坏不完整导致的,重新上传war包启动。

深入Javascript 异常(Error)视频课程

实践项目之深入Javascript 异常(Error) 课程详细的讲解了Javascript的错误异常, 深入异常的原型方法, 合理的处理自己的错误信息, 以及自定义自己的异常等等.
  • 2017年02月26日 13:08

出现 java.util.zip.ZipException: error in opening zip file 异常的原因及解决方法

1 异常描述在从 SVN 检出项目并配置完成后,启动 Tomcat 服务器,报出如下错误:2 异常原因通过观察上图中被标记出来的异常信息,咱们可以知道 java.util.zip.ZipExcep...
  • qq_35246620
  • qq_35246620
  • 2017-07-12 14:55:28
  • 6135

导入项目后报错:java.util.zip.ZipException: error in opening zip file

导入新项目,编译的时候出现了:java.util.zip.ZipException: error in opening zip file的错误...
  • bsh_csn
  • bsh_csn
  • 2017-01-11 18:20:26
  • 8362

linux环境下weblogic 部署程序出现java.util,zip.ZpException:error in opening zip file

解决该问题的思路:                                    1.检查各种配置信息,数据源,项目名和数据源名是否冲突等。                        ...
  • Liaryank
  • Liaryank
  • 2017-05-25 14:18:12
  • 815

java.util.zip.ZipException: error in opening zip file 问题处理

java.util.zip.ZipException: error in opening zip file 这个问题的字面意思是压缩包打不开, 我这出现的问题是jar包损坏,打不开...
  • wangming520liwei
  • wangming520liwei
  • 2017-10-13 10:16:37
  • 618

java.util.zip.ZipException: error in opening zip file有可能是压缩问题

在做Android系统升级包再打包的时候遇到的,如
  • kangear
  • kangear
  • 2014-08-01 20:50:14
  • 9033

在Linux中部署web项目 java.util.zip.ZipException: error in opening zip file

在Linux中部署web项目    首先在eclipse中把项目导出成war文件,然后通过SecureCRT上传到tomcat的webapp下,启动tomcat,tomcat会去读取webapp下面的...
  • u010004317
  • u010004317
  • 2017-01-20 23:58:02
  • 295

tomcat启动报错:java.util.zip.ZipException: error in opening zip file

严重: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catali...
  • baohongzhen2
  • baohongzhen2
  • 2016-10-17 15:05:46
  • 3347

编译环境与生成环境的JDK版本不一样,报:java.util.zip.ZipException: error in opening zip file

发布应用的时候,发现生产环境报将编译环境编译好的WAR包拿到生产环境,报异常如下:     Caused by: java.util.zip.ZipException: error in ope...
  • fenglibing
  • fenglibing
  • 2011-09-13 14:21:24
  • 82829

Android linux下重新打包apk 报错 java.util.zip.ZipException: error in opening zip file

java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) ...
  • zgf1991
  • zgf1991
  • 2015-01-26 17:52:36
  • 3905
收藏助手
不良信息举报
您举报文章:java.util.zip.ZipException: error in opening zip file
举报原因:
原因补充:

(最多只允许输入30个字)