I have in my build path both quartz 1.8.3.jar and Spring 3.0.6 jars, but the package that appears in all tutorials for spring + quartz scheduling isn't available. Where i can find it?

 "org.springframework.scheduling.quartz.JobDetailBean" 

2 Answers

it seems to be in spring-context-support :

Quartz scheduling files are available in Spring context support 4.3.6 jar. There is a change in the classes. Few classes have been become deprecated. The deprecated classes in spring context support are: JobDetailBean and CronTriggerBean. Replace org.springframework.scheduling.quartz.JobDetailBean in your current spring / program file to org.springframework.scheduling.quartz.JobDetailFactoryBean.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.