java.lang.IncompatibleClassChangeError: class org.springframework.scheduling.quartz.CronTriggerBean has interface org.quartz.CronTrigger as super class

Spring JIRA | Greg Lively | 5 years ago
  1. 0

    [SPR-8894] Warnings thrown while using SpringFramework 3.1.RC2 with Quartz 2.1.1 - Spring JIRA

    spring.io | 7 months ago
    java.lang.IncompatibleClassChangeError: class org.springframework.scheduling.quartz.CronTriggerBean has interface org.quartz.CronTrigger as super class
  2. 0

    Updated my local dev environment to Spring Framework 3.1.RC2 and Quartz 2.1.1. My job are running fine, however, I get a number of these warnings in my logs while the app is starting up: WARNING: Unable to load class [org.springframework.scheduling.quartz.CronTriggerBean] to check against the @HandlesTypes annotation of one or more ServletContentInitializers. java.lang.IncompatibleClassChangeError: class org.springframework.scheduling.quartz.CronTriggerBean has interface org.quartz.CronTrigger as super class at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2823) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1160) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1655) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1533) at org.apache.catalina.startup.ContextConfig.checkHandlesTypes(ContextConfig.java:1988) at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:1951) at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1840) at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1808) at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1794) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1214) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:828) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:302) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5148) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1525) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1515) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)

    Spring JIRA | 5 years ago | Greg Lively
    java.lang.IncompatibleClassChangeError: class org.springframework.scheduling.quartz.CronTriggerBean has interface org.quartz.CronTrigger as super class
  3. 0

    Updated my local dev environment to Spring Framework 3.1.RC2 and Quartz 2.1.1. My job are running fine, however, I get a number of these warnings in my logs while the app is starting up: WARNING: Unable to load class [org.springframework.scheduling.quartz.CronTriggerBean] to check against the @HandlesTypes annotation of one or more ServletContentInitializers. java.lang.IncompatibleClassChangeError: class org.springframework.scheduling.quartz.CronTriggerBean has interface org.quartz.CronTrigger as super class at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2823) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1160) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1655) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1533) at org.apache.catalina.startup.ContextConfig.checkHandlesTypes(ContextConfig.java:1988) at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:1951) at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1840) at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1808) at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1794) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1214) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:828) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:302) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5148) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1525) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1515) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)

    Spring JIRA | 5 years ago | Greg Lively
    java.lang.IncompatibleClassChangeError: class org.springframework.scheduling.quartz.CronTriggerBean has interface org.quartz.CronTrigger as super class
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Migrating to Spring 3.1 from 3.0.5 using apache-ivy: java.lang.IncompatibleClassChangeError:

    Stack Overflow | 4 years ago | kmansoor
    java.lang.IncompatibleClassChangeError: Implementing class
  6. 0

    Tomcat 7 Guava issue?

    Stack Overflow | 4 years ago | ClydeFrog
    java.lang.IncompatibleClassChangeError: Implementing 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.CronTriggerBean has interface org.quartz.CronTrigger as super class

      at java.lang.ClassLoader.defineClass1()
    2. Java RT
      SecureClassLoader.defineClass
      1. java.lang.ClassLoader.defineClass1(Native Method)
      2. java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
      3. java.lang.ClassLoader.defineClass(ClassLoader.java:615)
      4. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
      4 frames
    3. Glassfish Core
      ContainerBase$StartChild.call
      1. org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2823)
      2. org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1160)
      3. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1655)
      4. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1533)
      5. org.apache.catalina.startup.ContextConfig.checkHandlesTypes(ContextConfig.java:1988)
      6. org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:1951)
      7. org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1840)
      8. org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1808)
      9. org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1794)
      10. org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1214)
      11. org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:828)
      12. org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:302)
      13. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
      14. org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
      15. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5148)
      16. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      17. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1525)
      18. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1515)
      18 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      5. java.lang.Thread.run(Thread.java:662)
      5 frames