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)
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包启动。

myeclise 中出现java.util.zip.ZipException: error in opening zip files是什么意思,

02-26

告: Failed to process JAR [jar:file:/D:/Tomcat7/lib/jspSmartUpload.jar!/] for TLD filesrnjava.util.zip.ZipException: error in opening zip filern at java.util.zip.ZipFile.open(Native Method)rn at java.util.zip.ZipFile.(ZipFile.java:114)rn at java.util.jar.JarFile.(JarFile.java:133)rn at java.util.jar.JarFile.(JarFile.java:70)rn at sun.net.www.protocol.jar.URLJarFile.(URLJarFile.java:72)rn at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:48)rn at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:78)rn at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:104)rn at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:71)rn at org.apache.tomcat.util.scan.FileUrlJar.(FileUrlJar.java:40)rn at org.apache.tomcat.util.scan.JarFactory.newInstance(JarFactory.java:34)rn at org.apache.catalina.startup.TldConfig.tldScanJar(TldConfig.java:460)rn at org.apache.catalina.startup.TldConfig.access$100(TldConfig.java:58)rn at org.apache.catalina.startup.TldConfig$TldJarScannerCallback.scan(TldConfig.java:276)rn at org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:241)rn at org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:204)rn at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:250)rn at org.apache.catalina.startup.TldConfig.lifecycleEvent(TldConfig.java:540)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5103)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:812)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:787)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:607)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1055)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:978)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1329)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)rn at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:389)rn at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:334)rn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1041)rn at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:774)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)rn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1033)rn at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:291)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)rn at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)rn at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:727)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:621)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)rn2012-2-26 13:36:34 org.apache.catalina.core.StandardContext startInternalrn严重: Error getConfiguredrn2012-2-26 13:36:34 org.apache.catalina.core.StandardContext startInternalrn严重: Context [/skydrive] startup failed due to previous errorsrn2012-2-26 13:36:34 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory webrn2012-2-26 13:36:34 org.apache.tomcat.util.scan.StandardJarScanner scanrn警告: Failed to scan [file:/D:/Tomcat7/lib/jspSmartUpload.jar] from classloader hierarchyrnrnrn我在输入javaEE6.0时访问不了jsp.请好心的人指教。

没有更多推荐了,返回首页

私密
私密原因:
请选择设置私密原因
  • 广告
  • 抄袭
  • 版权
  • 政治
  • 色情
  • 无意义
  • 其他
其他原因:
120
出错啦
系统繁忙,请稍后再试