majiajue / myschedule

Automatically exported from code.google.com/p/myschedule
0 stars 0 forks source link

not compatible with jdk 1.6 #86

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. have jdk 1.6
2. try to run the scheduler 
3.

What is the expected output? What do you see instead?

scheduler should run instead it gives an error 

Exception in thread "main" java.lang.NoSuchMethodError: 
org.quartz.Scheduler.getListenerManager()Lorg/quartz/ListenerManager;
    at myschedule.quartz.extra.JdbcSchedulerHistoryPlugin.initialize(JdbcSchedulerHistoryPlugin.java:280)
    at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:987)
    at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1152)
    at com.macys.dyces.ea.plugin.PluginExample.run(PluginExample.java:33)
    at com.macys.dyces.ea.plugin.PluginExample.main(PluginExample.java:19)

Please use labels and text to provide additional information.

Original issue reported on code.google.com by ani...@gmail.com on 8 May 2012 at 9:12

GoogleCodeExporter commented 8 years ago
Hi there,

Read the exception carefully and it tells you extract where the problem is. 
This error is not related to JDK specific. It's related to quartz specific. You 
probably mixed up quartz-1.8 jars with quartz-2.x jars. These two quartz 
versions are in compatible. Pick one and remove others jars. Also use the 
correct MySchedule jar that match the quartz version. 

Original comment by saltnlight5 on 9 May 2012 at 3:22

GoogleCodeExporter commented 8 years ago
Not enough info and problem not related to MySchedule.

Original comment by saltnlight5 on 1 Jun 2012 at 2:38

GoogleCodeExporter commented 8 years ago

Original comment by saltnlight5 on 3 Jun 2012 at 1:33