[BATCH-1793] Sample on Spring batch + quartz out of date Created: 14/Sep/11  Updated: 14/Sep/11  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


 Description   

Hey,

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).



 Comments   
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.

Generated at Wed Dec 11 22:02:21 UTC 2019 using Jira 7.13.8#713008-sha1:1606a5c1e7006e1ab135aac81f7a9566b2dbc3a6.