java.lang.IncompatibleClassChangeError: Implementing class

这是一个什么错?有没有解决方法啊?已经被困扰两天了。。。。。。

十月 13, 2015 9:51:20 上午 org.apache.catalina.core.StandardContext loadOnStartup
严重: Servlet /hubei-dacp-designer threw load exception
java.lang.IncompatibleClassChangeError: Implementing class

at java.lang.ClassLoader.defineClass1Native Method
at java.lang.ClassLoader.defineClassClassLoader.java:800
at java.security.SecureClassLoader.defineClassSecureClassLoader.java:142
at org.apache.catalina.loader.WebappClassLoader.findClassInternalWebappClassLoader.java:2895
at org.apache.catalina.loader.WebappClassLoader.findClassWebappClassLoader.java:1173
at org.apache.catalina.loader.WebappClassLoader.loadClassWebappClassLoader.java:1681
at org.apache.catalina.loader.WebappClassLoader.loadClassWebappClassLoader.java:1559
at java.lang.Class.getDeclaredMethods0Native Method
at java.lang.Class.privateGetDeclaredMethodsClass.java:2615
at java.lang.Class.getDeclaredMethodsClass.java:1860
at org.springframework.util.ReflectionUtils.getDeclaredMethodsReflectionUtils.java:571
at org.springframework.util.ReflectionUtils.doWithMethodsReflectionUtils.java:490
at org.springframework.util.ReflectionUtils.doWithMethodsReflectionUtils.java:474
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructorsAutowiredAnnotationBeanPostProcessor.java:241
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineConstructorsFromBeanPostProcessorsAbstractAutowireCapableBeanFactory.java:1057
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstanceAbstractAutowireCapableBeanFactory.java:1030
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBeanAbstractAutowireCapableBeanFactory.java:504
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanAbstractAutowireCapableBeanFactory.java:476
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObjectAbstractBeanFactory.java:302
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingletonDefaultSingletonBeanRegistry.java:230
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBeanAbstractBeanFactory.java:298
at org.springframework.beans.factory.support.AbstractBeanFactory.getBeanAbstractBeanFactory.java:193
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletonsDefaultListableBeanFactory.java:762
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitializationAbstractApplicationContext.java:757
at org.springframework.context.support.AbstractApplicationContext.refreshAbstractApplicationContext.java:480
at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContextFrameworkServlet.java:663
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContextFrameworkServlet.java:629
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContextFrameworkServlet.java:677
at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContextFrameworkServlet.java:548
at org.springframework.web.servlet.FrameworkServlet.initServletBeanFrameworkServlet.java:489
at org.springframework.web.servlet.HttpServletBean.initHttpServletBean.java:136
at javax.servlet.GenericServlet.initGenericServlet.java:160
at org.apache.catalina.core.StandardWrapper.initServletStandardWrapper.java:1280
at org.apache.catalina.core.StandardWrapper.loadServletStandardWrapper.java:1193
at org.apache.catalina.core.StandardWrapper.loadStandardWrapper.java:1088
at org.apache.catalina.core.StandardContext.loadOnStartupStandardContext.java:5176
at org.apache.catalina.core.StandardContext.startInternalStandardContext.java:5460
at org.apache.catalina.util.LifecycleBase.startLifecycleBase.java:150
at org.apache.catalina.core.ContainerBase$StartChild.callContainerBase.java:1559
at org.apache.catalina.core.ContainerBase$StartChild.callContainerBase.java:1549
at java.util.concurrent.FutureTask.runFutureTask.java:262
at java.util.concurrent.ThreadPoolExecutor.runWorkerThreadPoolExecutor.java:1145
at java.util.concurrent.ThreadPoolExecutor$Worker.runThreadPoolExecutor.java:615
at java.lang.Thread.runThread.java:745

貌似是spring framework在用byte code重定义某个class / method的时候出错了。

偶不懂spring,不过你可能需要查查你设了什么东西来响应 /hubei-dacp-designer

一般是包重复,引入了不同版本的jar。

发表评论

电子邮件地址不会被公开。 必填项已用*标注