关闭

Caused by: java.lang.IncompatibleClassChangeError: Implementing class

标签: Java WebFlexMySQL
7337人阅读 评论(2) 收藏 举报
分类:

1、错误描述

严重: StandardWrapper.Throwable
org.apache.cxf.bus.extension.ExtensionException
	at org.apache.cxf.bus.extension.Extension.tryClass(Extension.java:167)
	at org.apache.cxf.bus.extension.Extension.getClassObject(Extension.java:179)
	at org.apache.cxf.bus.extension.ExtensionManagerImpl.activateAllByType(ExtensionManagerImpl.java:138)
	at org.apache.cxf.bus.extension.ExtensionManagerBus.<init>(ExtensionManagerBus.java:131)
	at org.apache.cxf.bus.extension.ExtensionManagerBus.<init>(ExtensionManagerBus.java:139)
	at org.apache.cxf.bus.CXFBusFactory.createBus(CXFBusFactory.java:40)
	at org.apache.cxf.bus.CXFBusFactory.createBus(CXFBusFactory.java:36)
	at org.apache.cxf.bus.CXFBusFactory.createBus(CXFBusFactory.java:32)
	at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:119)
	at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:95)
	at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:69)
	at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:58)
	at org.apache.cxf.transport.servlet.CXFServlet.loadBus(CXFServlet.java:78)
	at org.apache.cxf.transport.servlet.CXFNonSpringServlet.init(CXFNonSpringServlet.java:67)
	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5231)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5518)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1245)
	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1895)
	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)
Caused by: java.lang.IncompatibleClassChangeError: Implementing class
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2957)
	at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1210)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1690)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2957)
	at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1210)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1690)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
	at org.apache.cxf.bus.extension.Extension.tryClass(Extension.java:163)
	... 29 more
九月 20, 2015 6:34:32 下午 org.apache.catalina.core.StandardContext loadOnStartup
严重: Servlet /FlashProject threw load() exception
java.lang.IncompatibleClassChangeError: Implementing class
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2957)
	at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1210)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1690)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2957)
	at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1210)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1690)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
	at org.apache.cxf.bus.extension.Extension.tryClass(Extension.java:163)
	at org.apache.cxf.bus.extension.Extension.getClassObject(Extension.java:179)
	at org.apache.cxf.bus.extension.ExtensionManagerImpl.activateAllByType(ExtensionManagerImpl.java:138)
	at org.apache.cxf.bus.extension.ExtensionManagerBus.<init>(ExtensionManagerBus.java:131)
	at org.apache.cxf.bus.extension.ExtensionManagerBus.<init>(ExtensionManagerBus.java:139)
	at org.apache.cxf.bus.CXFBusFactory.createBus(CXFBusFactory.java:40)
	at org.apache.cxf.bus.CXFBusFactory.createBus(CXFBusFactory.java:36)
	at org.apache.cxf.bus.CXFBusFactory.createBus(CXFBusFactory.java:32)
	at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:119)
	at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:95)
	at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:69)
	at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:58)
	at org.apache.cxf.transport.servlet.CXFServlet.loadBus(CXFServlet.java:78)
	at org.apache.cxf.transport.servlet.CXFNonSpringServlet.init(CXFNonSpringServlet.java:67)
	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5231)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5518)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1245)
	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1895)
	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)

2、错误原因

     由于CXF有关的jar跟neethi有关的jar版本不对,导致出错;我的CXF jar用的是cxf-2.6.0.jar,neethi用的是neethi-5.2.4.jar,而实际上neethi版本过高


3、解决办法

     将“neethi-5.2.4.jar”修改成“neethi-3.0.2.jar”,降低neethi jar的版本,保证跟CXF jar版本匹配

1
0
查看评论

关于java.lang.IncompatibleClassChangeError: Implementing class错误解决

在尝试elastic-job 分布式任务时,跑example代码,任务正常启动。把example迁移到我们自己的应用后,发现无法启动,报错如下: Exception in thread "main" java.lang.IncompatibleClassChangeError: ...
  • yaowj2
  • yaowj2
  • 2015-11-26 18:40
  • 18068

jfina定时任务启动报 java.lang.IncompatibleClassChangeError: Implementing class

今天在使用jFinal框架引用jfinal-quartz包时,所有的配置都OK,但是启动的时候就会报java.lang.IncompatibleClassChangeError: Implementing class异常,导致程序无法正常启动! 解决方法:     把项目中其...
  • qq_34265335
  • qq_34265335
  • 2017-02-08 20:42
  • 413

java.lang.IncompatibleClassChangeError: Implementing class异常解决方法

在公司的一个Web Service调用的一个项目中,现场环境
  • yidragon88xx
  • yidragon88xx
  • 2014-07-22 17:16
  • 1427

java.lang.IncompatibleClassChangeError:Implementing class

记录一下这个坑爹的问题,折腾了一天了,给客户现场打补丁,发了小jar包,在本地测试都没问题,一部署到现场就报这个错误: java.lang.IncompatibleClassChangeError:Implementing class     网上查了各种方案,始终不能解...
  • lcjackson
  • lcjackson
  • 2015-01-06 19:31
  • 4074

[show] java.lang.IncompatibleClassChangeError:Implementing class

此错误,折腾将近2天,查起来相当费神,特别是,在你本地部署一切OK,到unix服务器上运行不出预期效果。 再此mark一下,以示谨记!   再次也多谢网络上各种帖子,各种思路。 1、web项目本身的jar包冲突。 2、web项目的jar包与web服务器中的jar包冲突。
  • hgsunyong
  • hgsunyong
  • 2013-12-31 16:02
  • 4803

java.lang.IncompatibleClassChangeError: class org.springframework.core.type.classreading.ClassMetada

异常如下: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [E:\apache-tomcat-8\apache-tomcat...
  • begin27
  • begin27
  • 2016-04-23 14:09
  • 4529

java.lang.IncompatibleClassChangeError: class org.springframework.cglib.core.DebuggingCla

原因是jar包冲突引起的。 spring-core.jar包里已经有了asm 固不用单独导入asm包
  • ld513508088
  • ld513508088
  • 2013-10-29 21:41
  • 11302

Caused by: java.lang.IncompatibleClassChangeError: class org.springframework.core.type.classreading.

Caused by: java.lang.IncompatibleClassChangeError: class org.springframework.core.type.classreading.ClassMetadataReadingVisitor has interface org.spri...
  • f1370335844
  • f1370335844
  • 2017-11-25 17:20
  • 79

异常:Error: java.lang.IncompatibleClassChangeError: Implementing class

**** MessageBrokerServlet failed to initialize due to runtime exception:   Error: java.lang.IncompatibleClassChangeError: Implementing class...
  • shangpusp
  • shangpusp
  • 2009-12-22 17:50
  • 18624

spring asm JAR冲突

org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from relative locat...
  • xiazou
  • xiazou
  • 2014-06-10 14:42
  • 9160
    个人资料
    • 访问:5588720次
    • 积分:73011
    • 等级:
    • 排名:第28名
    • 原创:1925篇
    • 转载:76篇
    • 译文:3篇
    • 评论:1193条
    百度技术栏目
    网易博客
    新浪博客
    博客专栏
    Linux

    文章:47篇

    阅读:66388
    dojo

    文章:10篇

    阅读:30494
    Flex

    文章:13篇

    阅读:29366
    FusionCharts

    文章:14篇

    阅读:71481
    文章分类
    最新评论