Exception while running Quartz Schdular program
Posted
by Sunny Mate
on Stack Overflow
See other posts from Stack Overflow
or by Sunny Mate
Published on 2010-03-26T09:38:19Z
Indexed on
2010/03/26
9:43 UTC
Read the original article
Hit count: 554
quartz-scheduler
hi,
i am getting he following Exception while running my Quartz Schdular program.
Below is the exception Trace
Mar 26, 2010 2:54:24 PM org.quartz.core.QuartzScheduler start INFO: Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. Exception in thread "main" java.lang.IllegalArgumentException: Job class must implement the Job interface. at org.quartz.JobDetail.setJobClass(JobDetail.java:291) at org.quartz.JobDetail.(JobDetail.java:138) at com.Quarrtz.RanchSchedule.main(RanchSchedule.java:18)
i have included Quartz-1.7.2.jar and Quartz-all-1.7.2.jar in my class path along with commom-logging 1.1.jar and jdk 6
this is an example i have copy and pasted from JAVA RANCH
http://www.javaranch.com/journal/200711/combining_spring_and_quartz.html
First example in the above page
any help pls
thanx in advance
Sunny Mate
© Stack Overflow or respective owner