Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't find "org.springframework.scheduling.quartz.JobDetailBean" spring + quartz

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"
like image 672
Eu Vid Avatar asked May 04 '12 15:05

Eu Vid


2 Answers

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.

like image 96
Swathy Avatar answered Oct 13 '22 01:10

Swathy


it seems to be in spring-context-support : http://search.maven.org/#search%7Cga%7C1%7Cfc%3Aorg.springframework.scheduling.quartz.JobDetailBean

like image 45
Anthony Dahanne Avatar answered Oct 13 '22 00:10

Anthony Dahanne