发布J2EE时报错

问题描述

如题错误信息:java.util.zip.ZipException:invalidENDheader(badcentraldirectoryoffset)atjava.util.zip.ZipFile.open(NativeMethod)atjava.util.zip.ZipFile.<init>(ZipFile.java:112)atjava.util.jar.JarFile.<init>(JarFile.java:127)atjava.util.jar.JarFile.<init>(JarFile.java:92)atorg.apache.catalina.loader.WebappLoader.setRepositories(WebappLoader.java:1023)atorg.apache.catalina.loader.WebappLoader.start(WebappLoader.java:620)atorg.apache.catalina.core.StandardContext.start(StandardContext.java:3607)atorg.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:777)atorg.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:760)atorg.apache.catalina.core.StandardHost.addChild(StandardHost.java:538)atorg.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:265)atorg.apache.catalina.core.StandardHost.install(StandardHost.java:731)atorg.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:649)atorg.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:379)atorg.apache.catalina.startup.HostConfig.start(HostConfig.java:808)atorg.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:335)atorg.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)atorg.apache.catalina.core.ContainerBase.start(ContainerBase.java:1156)atorg.apache.catalina.core.StandardHost.start(StandardHost.java:697)atorg.apache.catalina.core.ContainerBase.start(ContainerBase.java:1148)atorg.apache.catalina.core.StandardEngine.start(StandardEngine.java:311)atorg.apache.catalina.core.StandardService.start(StandardService.java:450)atorg.apache.catalina.core.StandardServer.start(StandardServer.java:2213)atorg.apache.catalina.startup.Catalina.start(Catalina.java:484)atorg.apache.catalina.startup.Catalina.execute(Catalina.java:371)atorg.apache.catalina.startup.Catalina.process(Catalina.java:134)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)atjava.lang.reflect.Method.invoke(Method.java:324)atorg.apache.catalina.startup.Bootstrap.main(Bootstrap.java:151)java.util.zip.ZipException:invalidENDheader(badcentraldirectoryoffset)atjava.util.zip.ZipFile.open(NativeMethod)atjava.util.zip.ZipFile.<init>(ZipFile.java:112)atjava.util.jar.JarFile.<init>(JarFile.java:127)atjava.util.jar.JarFile.<init>(JarFile.java:92)atorg.apache.catalina.loader.WebappLoader.setRepositories(WebappLoader.java:1023)atorg.apache.catalina.loader.WebappLoader.start(WebappLoader.java:620)atorg.apache.catalina.core.StandardContext.start(StandardContext.java:3607)atorg.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:777)atorg.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:760)atorg.apache.catalina.core.StandardHost.addChild(StandardHost.java:538)atorg.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:265)atorg.apache.catalina.core.StandardHost.install(StandardHost.java:731)atorg.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:649)atorg.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:379)atorg.apache.catalina.startup.HostConfig.start(HostConfig.java:808)atorg.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:335)atorg.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)atorg.apache.catalina.core.ContainerBase.start(ContainerBase.java:1156)atorg.apache.catalina.core.StandardHost.start(StandardHost.java:697)atorg.apache.catalina.core.ContainerBase.start(ContainerBase.java:1148)atorg.apache.catalina.core.StandardEngine.start(StandardEngine.java:311)atorg.apache.catalina.core.StandardService.start(StandardService.java:450)atorg.apache.catalina.core.StandardServer.start(StandardServer.java:2213)atorg.apache.catalina.startup.Catalina.start(Catalina.java:484)atorg.apache.catalina.startup.Catalina.execute(Catalina.java:371)atorg.apache.catalina.startup.Catalina.process(Catalina.java:134)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)atjava.lang.reflect.Method.invoke(Method.java:324)atorg.apache.catalina.startup.Bootstrap.main(Bootstrap.java:151)编译时没有错误,只有一些警告。Google也没有找到合适的答案JDK1.4,TOMCAT4.1,请大家多多赐教!**现在没有分可以给了,下次补上:)

时间: 2024-10-22 23:34:33

发布J2EE时报错的相关文章

关于weblogic发布程序报错:Deployer:149189的问题

问题描述 在weblogic10上发布程序时报错如下:Anerroroccurredduringactivationofchanges,pleaseseethelogfordetails.Deployer:149189]Attempttooperate'distribute'onnullBasicDeploymentMBeanfordeploymentXXX.Operationcannotbeperformeduntilserverisrestarted.我已经重启了adminserver,也清

微信开发,将微信官网源码(java版)导入,用tomcat发布时报错,求解答?

问题描述 微信开发,将微信官网源码(java版)导入,用tomcat发布时报错,求解答? 2016-3-17 14:19:13 org.apache.catalina.core.AprLifecycleListener init 信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.li

weblogic部署时报错竟然有这样特殊的空指针异常,

问题描述 weblogic部署时报错竟然有这样特殊的空指针异常, org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name 'xfire.typeMappingRegistry' defined in class path resource [org/codehaus/xfire/spring/xfire.xml]: Unexpected failure dur

5 internal error-QT程序调试时报错,但程序运行时则不确定报错,是什么原因?

问题描述 QT程序调试时报错,但程序运行时则不确定报错,是什么原因? 调试时报错信息Internal error: pc 0x3ff in read in psymtab, but not in symtab. 解决方案 你有指针方面的问题,调试的时候,编译器会将堆上的内存初始化成特殊值,并且库有一些断言捕获你的代码的异常.发布版为了性能没有这样的初始化,也不执行断言. 所以调试运行往往能发现更多的问题.好好利用调试的这个便利特性检查下你的代码. 解决方案二: http://www.cnblog

axis2实现Webservice,启动tomcat成功,访问wsdl时报错..

问题描述 jdk1.6+tomcat6.0+axis21.5.5的环境,发布到websphere8.0上可以访问,一切正常我在本地启动tomcat正常,访问wsdl时报错.报错内容是:信息:Serverstartupin32347ms2014-10-1509:44:29.122INFOhttp-8080-1[org.apache.axis2.deployment.ModuleDeployer]-Deployingmodule:addressing-1.5.5-file:/D:/workspace

unbound prefix-android 编写主题xml时报错

问题描述 android 编写主题xml时报错 <resources> <style name="AppBaseTheme" parent="android:Theme.Light"> </style> <style name="AppTheme" parent="AppBaseTheme"> <item android:name="android:windowN

用VS写C++时报错“找不到标识符”

  用VS写C++时报错"找不到标识符"          方法/步骤 在程序入口的cpp(有main函数)里这样写.函数A明显是定义过的.但仍然编译不通过 其实原因是这个CPP并没有面向对象的结构.所以进行编译时是"顺序编译"的,而main函数的定义又在A的定义之前.自然找不到标识符了 解决方案.把A函数的定义改到main函数的前面. 成功.

unity3d-Unity3D 实时解析XML时报错

问题描述 Unity3D 实时解析XML时报错 获取网络时间: IEnumerator GetTime() { WWW www = new WWW(timeURL); while (!www.isDone) { yield return www; Debug.Log("Doneeeeeeeeeeeeee" + www.text); ParseXml(www); } }` 后得到:` <?xml version="1.0" encoding="GB23

db2递归结果集作为查询条件时报错

问题描述 db2递归结果集作为查询条件时报错 递归在db2中没有问题,但要是把递归的结果作为查询条件时会报错,如:SELECT T.inst_id FROM BAPP_INST T WHERE exists (select 1 from (WITH area(parent_area_id area_id) AS (SELECT parent_area_id area_id FROM fox_pboc_area WHERE area_simple_name = '廊坊市' UNION ALL SE