java lang incompatibleclasschangeerror quartz spring - Error resolved



Share on Google+Share on Google+

Java Coder
java lang incompatibleclasschangeerror quartz spring - Error resolved
1 Answer(s)      9 months ago
Posted in : Spring


I am developing module for using the Quartz scheduler with Spring web application. On startup it gives following error:

Caused by: java.lang.IncompatibleClassChangeError: class org.springframework.scheduling.quartz.JobDetailBean has interface org.quartz.JobDetail as super class
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(
        at Method)
        at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(
        at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(
        at org.springframework.util.ClassUtils.forName(
        ... 65 more

I am using maven for this project.

How to resolve this error?


View Answers

August 20, 2016 at 12:01 AM


Spring web framework is not compatible with Quartz 2.2.x

I was using:


After downgrading Quartz to:


Problem solved. You should use following dependency in your application:

    <!-- Quartz framework -->


    <!-- Quartz framework -->



Related Tutorials/Questions & Answers:
quartz schedular in spring mvc
quartz schedular in spring mvc  how to apply auto emailing through sping mvc and want to pass some variable to that trigger job
PdfCopyFields cannot be resolved - Java Beginners
PdfCopyFields cannot be resolved  PdfCopyFields cannot be resolved but other classes in the iText-2.1.0.jar are resolved. Any suggestions? Thanks
PdfCopyFields cannot be resolved - Java Beginners
PdfCopyFields cannot be resolved   Trying to concatenate PDF files. I downloaded the example from PdfCopyFields cannot be resolved but other
Quartz web application - Java Beginners
Quartz web application  Quartz is not firing jobs as per cron expression in java web application. I set the cron expression as 0/20 * * * * ? and when i load the web application it runs fine but its not firing the job after
spring question - Java Interview Questions
spring question  what is quartz API in spring
Quartz trigger dropping automatically - Java Beginners
Quartz trigger dropping automatically  In our application we.... As per our understanding quartz trigger will not get dropped off.... Thanks
Quartz Tutorial
Quartz Tutorial       In this Quartz Tutorial you will how to use Quartz Job scheduler in your java... job scheduling application in Java.     Download Quartz Job
Job scheduling with Quartz - Java Server Faces Questions
Job scheduling with Quartz   I have an JSF application deployed... to database. It works fine but when the Quartz scheduler fires a job it accquires... while initialization or while calling the job.  Hi,How you
Java Quartz Framework
Java Quartz Framework       Quartz is an open source job scheduler.  It provides powerful... application written in java as this is entirely written in Java. It can be used
Lang and Util Base Libraries
Lang and Util Base Libraries The Base libraries provides us the fundamental features and functionality of the Java platform. Lang and Util Packages Lang..., for the Logging Facility, jconsole and Java Management Extensions (JMX), and Sun's
Quartz scheduler
Quartz scheduler  I m new to quartz scheduler.... I want to schedule a job in quartz.... How can i schedule ? pls send me some step by step procedure
quartz scheduler
quartz scheduler  Hai I m new to quartz scheduler. I have run successfully the simple helloworld quartz job by using eclipse ide. Now I have one doubt can i schedule a BIRT report manually by using quartz scheduler ? Is there any
Quartz / Eclipse - Java Beginners
Quartz / Eclipse  Hi, I try to add quartz Lib in my HelloQuartz application. When I run HelloSchedule, I get this error: "Exception in thread "main... add Jar File in Java Build Path Library. i get this message : " No entries
combobox cannot be resolved in JavaFX
combobox cannot be resolved in JavaFX  I want to design one application with a combobox containing items. and while selecting i want to give user autocomplete suggestion. but while doing this combobox is not getting resolved. i
How to learn Quartz?
How to learn Quartz?  Hi, I have to make a program in Java is scheduling account processing Job after an interval of 20 minutes. Tell me the tutorial. Thanks   Hi, Please check the tutorial Hello World Quartz
JAVA - Spring
spring concept, i want a small program in spring. what are the requirements... information,Examples and Tutorials on Spring visit to : Thanks
Spring with scheduler
Spring with scheduler  how quartz scheduler relates with spring.need example with spring and quartz scheduler
java - Spring
java  if we want to execute spring program what are the basic files we need? how to write the spring program?i want small example with code. what is loosely coupled and titlly coupled? what is constructor injection? what
java - Spring
java  hi deepak, can u send simple program on spring with alkl jar files ,same as how u put in struts in the sites..plse help i am in trouble ...i am new 2 spring
Java - Spring
Java  Hi Roseindia, Can you provide code for searching based on Id and name using Spring,Hibernate & Struts. MAny Thanks Ragahvendra  .../struts/hibernate-spring/index.shtml Hope that it will be helpful for you
Quartz framework tutorial
Quartz framework tutorial  Hi, I am trying to create the scheduler application. Can any one provide me the url of Quartz framework tutorials. Thanks   Hi, Check the examples at Quartz Tutorial page. Thanks
Download Quartz Job Scheduler
Scheduling application in java. Quartz Scheduler is from OpenSymphony which can... in a variety of different databases.  src/java/org/quartz...) API for the scheduler src/java/org/quartz/core
Quartz Trigger - XML
Quartz Trigger  how to write a quatz trigger to fire mails at every... friend, Quartz Job scheduler is so flexible that it can be used with your standalone as well as enterprise web based applications. Quartz Job scheduler is used
Quartz in web-application
Quartz in web-application  As I am new to Quartz i don't know how to use it in web-application.I am able to run it in eclipse as a stand alone application i had tried out some example but am not able to succeed any help
Quartz Job Scheduler - Subversion
Quartz Job Scheduler  Dear Sir , i am anandaraj working as a programmer , i need the clarification for using the Quartz Job Scheduler . we have....
diff between spring and struts in java
diff between spring and struts in java  diff between spring and struts in java
Quartz Job Scheduler - Subversion
Quartz Job Scheduler  Dear Sir, i have taken that toturial.we are using RAMJob to do our work.while calling the scheduler.start(); , when... the database and genarating the report. we are getting the mail from the quartz
Spring Framework, Spring Framework in Java
of Enterprise Java applications. Now a days Spring Framework is one of the most... Framework (Spring 2.5 or above) also supports the Java 5 annotations. So, you can...Spring Framework Welcome to the Spring Framework tutorials, here we
java spring simple application
java spring simple application  hai I have design a simple.../beans/spring-beans-2.5.xsd"> <bean id="studbean" class="StudentComponent...;Please visit the following link: Spring Tutorials   Please visit
Java Spring Desktop application
Java Spring Desktop application  Hi i am developing a desktop java spring application..It has many Jframes forms and classes...How to close one Jframe from another..Please tell... First jframe package desktopapplication2
spring   i am a beginner in java.. but i have to learn spring framework.. i know the core java concepts with some J2EE knowledge..can i learn spring without knowing anything about struts