Error in setting up Quartz (Spring framework)

'org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.scheduling.quartz.SchedulerFactoryBean' defined in ServletContext resource [/WEB-INF/tvp-job.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/transaction/UserTransaction
Caused by:
java.lang.NoClassDefFoundError: javax/transaction/UserTransaction
	at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1104)
	at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1355)
	at org.springframework.scheduling.quartz.SchedulerFactoryBean.createScheduler(SchedulerFactoryBean.java:687)
	at org.springframework.scheduling.quartz.SchedulerFactoryBean.afterPropertiesSet(SchedulerFactoryBean.java:582)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1203)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1172)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)

Comments

One Response to “Error in setting up Quartz (Spring framework)”

  1. Amit on April 4th, 2009 4:18 pm

    Possibly missing jta.jar in class path.

Leave a Reply




Related Post

org.springframework.web.context.ContextLoader – Context initialization failed
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
JSON communication between server and client Part1
nested exception is java.lang.IllegalStateException: Cannot create command without commandClass
javax.servlet.ServletException: javax.naming.NameNotFoundException: Name comp is not bound in this Context
Technology