[BATCH-1793] Sample on Spring batch + quartz out of date Created: 14/Sep/11  Updated: 17/Dec/19  Resolved: 14/Sep/11

Status: Resolved
Project: Spring Batch
Component/s: Documentation
Affects Version/s: 2.1.8
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Marrache Mickael Assignee: Dave Syer
Resolution: Works as Designed Votes: 0
Labels: feature-support
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified



I'm trying to use Quartz according to the sample (http://static.springsource.org/spring-batch/spring-batch-samples/index.html#quartz), and I get an error from the XML editor of STS : cronExpression isn't a property of the CronTriggerBean class. I use Spring batch version 2.1.8. For spring-context-support version 3.0.6.RELEASE, I looked at the CronTriggerBean class, and I didn't find the cronExpression property. This property is not in the CronTrigger interface too. It seems that Spring supports only the old version of Quartz (version 1.6.2 according to the Maven dependencies of spring-context-support).

Comment by Dave Syer [ 14/Sep/11 ]

Spring 3.1 supports Quartz 2.0 (see SPR-8359), so this isn't really a Batch issue.

Comment by Spring Issuemaster [ 17/Dec/19 ]

The Spring Batch Framework has moved from Jira to GitHub Issues. This issue was migrated to spring-projects/spring-batch#1796.

Generated at Sun Jul 12 07:05:07 UTC 2020 using Jira 8.5.4#805004-sha1:0444eab799707f9ad7b248d69f858774aadfd250.