1 Attachment(s)
Gettting Isssues when Integrating Quartz with Spring
I have added the following bean definitions to my applicationContext xml.
<bean id="batchJob" class="org.springframework.scheduling.quartz.Metho dInvokingJobDetailFactoryBean">
<property name="targetObject" ref="test"/>
<property name="targetMethod" value="execute"/>
<property name="concurrent" value="false" />
</bean>
<bean id="test" class="gov.ed.app.ats.batch.test.Test"/>
<bean id="cronTrigger" class="org.springframework.scheduling.quartz.CronT riggerBean">
<property name="jobDetail" ref="batchJob" />
<property name="cronExpression" value="0 * 10 * * ?" />
</bean>
<bean class="org.springframework.scheduling.quartz.Sched ulerFactoryBean">
<property name="triggers">
<list>
<ref bean="cronTrigger" />
</list>
</property>
</bean>
But when I am restarting the server to kick off the job.I am getting some errors.
I am hereby enclosing my errors.
Can anyone please help me why I am getting this issue ASAP.
1 Attachment(s)
Gettting Isssues when Integrating Quartz with Spring
I added new quartz-all-1.6.0 jar file that comes with my Spring 2.5 version and I am getting new errors now.
I am attaching the new errors file.
Please help me with this.
Gettting Isssues when Integrating Quartz with Spring
As per my understanding this should replace JobDetail bean
<bean id="batchJob" class="org.springframework.scheduling.quartz.Metho dInvokingJobDetailFactoryBean">
<property name="targetObject" ref="test"/>
<property name="targetMethod" value="execute"/>
<property name="concurrent" value="false" />
</bean>
Please let me know if that's not the case.
Gettting Isssues when Integrating Quartz with Spring
What does that means?How the proxy is getting created.What can I do for that.