Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

org.springframework.scheduling.quartz.JobDetailBean missing in Spring 4.1.1

Tags:

spring

I'm losing my mind a bit. Been following 4.1.1 documentation

http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/#scheduling-quartz-jobdetail

It says to use that class, JobDetailBean

The class does not even exists in the packages. If I update my pom to 4.0.7 there it is. Is the documentation outdated? Is this class meant to be deprecated or something?

like image 639
javaNoober Avatar asked Oct 06 '14 23:10

javaNoober


1 Answers

For Quartz 2.x support use JobDetailFactoryBean. See more in this jira: https://jira.spring.io/browse/SPR-9080

When changing to Quartz 2.x we switched to using JobDetailFactoryBean instead of JobDetailBean

like image 107
gerrytan Avatar answered Oct 08 '22 21:10

gerrytan