pri_dev pri_dev - 1 year ago 103
Java Question

quartz scheduler sample program giving error

I am trying to run the sample helloworld program for quartz scheduling given on

I have both the classes given there exactly similar setup in my java projecy with quartz version 1.6 - all.jar in the project library.
When I try to run the application I get the following Exception

Exception in thread "main" java.lang.NoClassDefFoundError: javax/transaction/UserTransaction
at org.quartz.impl.StdSchedulerFactory.instantiate(
at org.quartz.impl.StdSchedulerFactory.getScheduler(
at oiaoerpdataconnector.HelloSchedule.HelloScheduleRun(
at oiaoerpdataconnector.HelloSchedule.main(
Caused by: java.lang.ClassNotFoundException: javax.transaction.UserTransaction
at Method)
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
... 4 more
Java Result: 1

What am I missing here?



Answer Source

What am I missing here?


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download