quartz problem

im trying to use quartz in my project for a simple example

import org.quartz.*;

import org.quartz.impl.StdSchedulerFactory;

public class QuartzWhat implements Job{

public void execute(JobExecutionContext cntxt)

throws JobExecutionException{

System.out.println("VaMukanya Woye..");

}

public static void main (String [] args){

try{

SchedulerFactory sf = new StdSchedulerFactory();

Scheduler scheduler = sf.getScheduler();

scheduler.start();

JobDetail job = new JobDetail("job1", "group1", QuartzWhat.class);

Trigger trigger = TriggerUtils.makeSecondlyTrigger(10);

trigger.setName("trigger1");

trigger.setGroup("group1");

scheduler.scheduleJob(job, trigger);

}catch(Exception ex){

}

}

}

i am getting the following errors :the code compiles on running it

exception in thread "main" no class defination found error: javax/Transaction/UserTransaction

at org.quartz.impl.StdSchedulerFactory.instatiate(StdSchedulerFactory.java:1104)

line 1104 of StdSchedulerFactory is UserTransactionHelper.setUserTxLocation(userTXLocation);

thanks

Taku

[1205 byte] By [Tj_Spearsa] at [2007-11-26 14:05:21]
# 1
Hi,I did just look at the error message, and it says:javax/Transaction/UserTransaction It looks like you have specified Transaction with an upper case t, it should be transaction.Kaj
kajbja at 2007-7-8 1:50:06 > top of Java-index,Java Essentials,Java Programming...
# 2
hi yes it must be javax/transaction/UserTransaction any idea how to go about it.Thanks Taku
Tj_Spearsa at 2007-7-8 1:50:06 > top of Java-index,Java Essentials,Java Programming...
# 3
Wait a minute. Is it possible that Quartz uses another API (with a non-standard package) that you either don't have or don't have in your classpath?Or that you have to provide some classname in some properties file, which was spelled incorrectly?
CeciNEstPasUnProgrammeura at 2007-7-8 1:50:06 > top of Java-index,Java Essentials,Java Programming...
# 4

> Wait a minute. Is it possible that Quartz uses

> another API (with a non-standard package) that you

> either don't have or don't have in your classpath?

It still look like it's a bug in a configuration. I don't think that Sun would create a package name with an upper case character as first character (The interface is part of JTA)

> Or that you have to provide some classname in some

> properties file, which was spelled incorrectly?

kajbja at 2007-7-8 1:50:06 > top of Java-index,Java Essentials,Java Programming...