首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > Ruby Rails >

运行程序报java.lang.IncompatibleClassChangeError异常,如何解决?内有详细日志

2012-11-09 
运行程序报java.lang.IncompatibleClassChangeError错误,怎么解决?内有详细日志运行程序报java.lang.Incom

运行程序报java.lang.IncompatibleClassChangeError错误,怎么解决?内有详细日志
运行程序报java.lang.IncompatibleClassChangeError错误,怎么解决?
日志如下:

20:26:57,640 ERROR [Engine] StandardContext[]StandardWrapper.Throwablejava.lang.IncompatibleClassChangeError        at org.zhongxing.building.init.FostIDInitor.queryFostID(FostIDInitor.java:96)        at org.zhongxing.building.init.FostIDInitor.init(FostIDInitor.java:39)        at org.zhongxing.building.init.FostInitServlet.init(FostInitServlet.java:39)        at javax.servlet.GenericServlet.init(GenericServlet.java:211)        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013)        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)        at java.lang.reflect.Method.invoke(Method.java:324)        at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)        at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:149)        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)        at org.apache.catalina.core.StandardContext.init(StandardContext.java:5441)        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)        at java.lang.reflect.Method.invoke(Method.java:324)        at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)        at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:149)        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)        at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:316)        at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:76)        at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:320)        at org.jboss.web.WebModule.startModule(WebModule.java:62)        at org.jboss.web.WebModule.startService(WebModule.java:40)        at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)        at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)        at java.lang.reflect.Method.invoke(Method.java:324)        at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)        at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)        at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:884)        at $Proxy19.start(Unknown Source)        at org.jboss.system.ServiceController.start(ServiceController.java:414)        at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)        at java.lang.reflect.Method.invoke(Method.java:324)        at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)        at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)        at $Proxy34.start(Unknown Source)        at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:363)        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:829)        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:821)        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)        at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)        at java.lang.reflect.Method.invoke(Method.java:324)        at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)        at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)        at $Proxy8.deploy(Unknown Source)        at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)        at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)        at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)        at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)        at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)        at java.lang.reflect.Method.invoke(Method.java:324)        at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)        at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)        at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:884)        at $Proxy0.start(Unknown Source)        at org.jboss.system.ServiceController.start(ServiceController.java:414)        at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)        at java.lang.reflect.Method.invoke(Method.java:324)        at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)        at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)        at $Proxy4.start(Unknown Source)        at org.jboss.deployment.SARDeployer.start(SARDeployer.java:251)        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:829)        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:588)        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)        at java.lang.reflect.Method.invoke(Method.java:324)        at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)        at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)        at $Proxy5.deploy(Unknown Source)        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:407)        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311)        at org.jboss.Main.boot(Main.java:145)        at org.jboss.Main$1.run(Main.java:399)        at java.lang.Thread.run(Thread.java:534)20:26:57,796 ERROR [Engine] StandardContext[]Servlet  threw load() exceptionjavax.servlet.ServletException: Servlet.init() for servlet FostInitServlet colorthrew exception        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1071)        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013)        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)        at java.lang.reflect.Method.invoke(Method.java:324)        at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)        at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:149)        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)        at org.apache.catalina.core.StandardContext.init(StandardContext.java:5441)        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)        at java.lang.reflect.Method.invoke(Method.java:324)        at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)        at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:149)        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)        at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:316)        at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:76)        at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:320)        at org.jboss.web.WebModule.startModule(WebModule.java:62)        at org.jboss.web.WebModule.startService(WebModule.java:40)        at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)        at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)        at java.lang.reflect.Method.invoke(Method.java:324)        at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)        at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)        at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:884)        at $Proxy19.start(Unknown Source)        at org.jboss.system.ServiceController.start(ServiceController.java:414)        at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)        at java.lang.reflect.Method.invoke(Method.java:324)        at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)        at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)        at $Proxy34.start(Unknown Source)        at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:363)        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:829)        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:821)        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)        at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)        at java.lang.reflect.Method.invoke(Method.java:324)        at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)        at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)        at $Proxy8.deploy(Unknown Source)        at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)        at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)        at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)        at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)        at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)        at java.lang.reflect.Method.invoke(Method.java:324)        at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)        at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)        at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:884)        at $Proxy0.start(Unknown Source)        at org.jboss.system.ServiceController.start(ServiceController.java:414)        at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)        at java.lang.reflect.Method.invoke(Method.java:324)        at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)        at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)        at $Proxy4.start(Unknown Source)        at org.jboss.deployment.SARDeployer.start(SARDeployer.java:251)        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:829)        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:588)        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)        at java.lang.reflect.Method.invoke(Method.java:324)        at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)        at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)        at $Proxy5.deploy(Unknown Source)        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:407)        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311)        at org.jboss.Main.boot(Main.java:145)        at org.jboss.Main$1.run(Main.java:399)        at java.lang.Thread.run(Thread.java:534)
1 楼 lpp333 2007-10-12   有没有大侠又处理这个错误的经验?

热点排行