java.lang.IncompatibleClassChangeError: class org.springframework.scheduling.quartz.JobDetailBean has interface org.quartz.JobDetail as super class

Spring JIRA | sreekanth | 4 years ago
  1. 0

    Hi, I'm using quartz-2.1.5 and Spring 3.1.0. RELEASE, I'm facing the some problem while starting the Server itself. Log is as follows {noformat} Failed to define class org.springframework.scheduling.quartz.JobDetailBean in Module "deployment.egov.ear:main" from Service Module Loader: java.lang.IncompatibleClassChangeError: class org.springframework.scheduling.quartz.JobDetailBean has interface org.quartz.JobDetail as super class at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_13] at java.lang.ClassLoader.defineClass(ClassLoader.java:621) [:1.6.0_13] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) [:1.6.0_13] at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:397) at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:261) at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:76) at org.jboss.modules.Module.loadModuleClass(Module.java:590) at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:183) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103) at org.springframework.util.ClassUtils.forName(ClassUtils.java:257) [org.springframework.core-3.1.0.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:417) [org.springframework.beans-3.1.0.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1283) [org.springframework.beans-3.1.0.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1254) [org.springframework.beans-3.1.0.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:576) [org.springframework.beans-3.1.0.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1331) [org.springframework.beans-3.1.0.RELEASE.jar:] at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:317) [org.springframework.beans-3.1.0.RELEASE.jar:] at org.springframework.context.support.DefaultLifecycleProcessor.getLifecycleBeans(DefaultLifecycleProcessor.java:266) [org.springframework.context-3.1.0.RELEASE.jar:] at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:125) [org.springframework.context-3.1.0.RELEASE.jar:] {noformat}

    Spring JIRA | 4 years ago | sreekanth
    java.lang.IncompatibleClassChangeError: class org.springframework.scheduling.quartz.JobDetailBean has interface org.quartz.JobDetail as super class
  2. 0

    Hi, I'm using quartz-2.1.5 and Spring 3.1.0. RELEASE, I'm facing the some problem while starting the Server itself. Log is as follows {noformat} Failed to define class org.springframework.scheduling.quartz.JobDetailBean in Module "deployment.egov.ear:main" from Service Module Loader: java.lang.IncompatibleClassChangeError: class org.springframework.scheduling.quartz.JobDetailBean has interface org.quartz.JobDetail as super class at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_13] at java.lang.ClassLoader.defineClass(ClassLoader.java:621) [:1.6.0_13] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) [:1.6.0_13] at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:397) at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:261) at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:76) at org.jboss.modules.Module.loadModuleClass(Module.java:590) at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:183) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103) at org.springframework.util.ClassUtils.forName(ClassUtils.java:257) [org.springframework.core-3.1.0.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:417) [org.springframework.beans-3.1.0.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1283) [org.springframework.beans-3.1.0.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1254) [org.springframework.beans-3.1.0.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:576) [org.springframework.beans-3.1.0.RELEASE.jar:] at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1331) [org.springframework.beans-3.1.0.RELEASE.jar:] at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:317) [org.springframework.beans-3.1.0.RELEASE.jar:] at org.springframework.context.support.DefaultLifecycleProcessor.getLifecycleBeans(DefaultLifecycleProcessor.java:266) [org.springframework.context-3.1.0.RELEASE.jar:] at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:125) [org.springframework.context-3.1.0.RELEASE.jar:] {noformat}

    Spring JIRA | 4 years ago | sreekanth
    java.lang.IncompatibleClassChangeError: class org.springframework.scheduling.quartz.JobDetailBean has interface org.quartz.JobDetail as super class
  3. 0

    Spring 3.2.0.RELEASE breaks with JBoss 7 - Spring Forum

    spring.io | 1 year ago
    java.lang.IncompatibleClassChangeError: class org.springframework.core.LocalVariableTableParameterNameDiscoverer$ParameterNameDiscoveringVisitor has interface org.springframework.asm.ClassVisitor as super class
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.NoClassDefFoundError Caused by: java.... | JBoss Developer

    jboss.org | 3 months ago
    java.lang.IncompatibleClassChangeError: class com.liferay.portlet.imagegallery.model.IGFolderModel has interface com.liferay.portal.model.BaseModel as super class

    40 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IncompatibleClassChangeError

      class org.springframework.scheduling.quartz.JobDetailBean has interface org.quartz.JobDetail as super class

      at java.lang.ClassLoader.defineClass1()
    2. Java RT
      SecureClassLoader.defineClass
      1. java.lang.ClassLoader.defineClass1(Native Method)[:1.6.0_13]
      2. java.lang.ClassLoader.defineClass(ClassLoader.java:621)[:1.6.0_13]
      3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)[:1.6.0_13]
      3 frames
    3. JBoss Modules
      ConcurrentClassLoader.loadClass
      1. org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:397)
      2. org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:261)
      3. org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:76)
      4. org.jboss.modules.Module.loadModuleClass(Module.java:590)
      5. org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:183)
      6. org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361)
      7. org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310)
      8. org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103)
      8 frames
    4. Spring Core
      ClassUtils.forName
      1. org.springframework.util.ClassUtils.forName(ClassUtils.java:257)[org.springframework.core-3.1.0.RELEASE.jar:]
      1 frame
    5. Spring Beans
      DefaultListableBeanFactory.getBeanNamesForType
      1. org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:417)[org.springframework.beans-3.1.0.RELEASE.jar:]
      2. org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1283)[org.springframework.beans-3.1.0.RELEASE.jar:]
      3. org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1254)[org.springframework.beans-3.1.0.RELEASE.jar:]
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:576)[org.springframework.beans-3.1.0.RELEASE.jar:]
      5. org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1331)[org.springframework.beans-3.1.0.RELEASE.jar:]
      6. org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:317)[org.springframework.beans-3.1.0.RELEASE.jar:]
      6 frames
    6. Spring Context
      DefaultLifecycleProcessor.startBeans
      1. org.springframework.context.support.DefaultLifecycleProcessor.getLifecycleBeans(DefaultLifecycleProcessor.java:266)[org.springframework.context-3.1.0.RELEASE.jar:]
      2. org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:125)[org.springframework.context-3.1.0.RELEASE.jar:]
      2 frames