Open
Description
Bug description
The ResourcelessJobRepository cannot be used with a Partitioner:
[main] ERROR org.springframework.batch.core.step.AbstractStep - Encountered an error executing step step in job partitionJob
org.springframework.batch.core.JobExecutionException: Cannot restart step from STARTING status. The old execution may still be executing, so you may need to verify manually that this is the case.
Steps to reproduce
Simply change spring-batch-samples/src/main/resources/simple-job-launcher-context.xml
to use ResourcelessJobRepository
and then run spring-batch-samples/src/test/java/org/springframework/batch/samples/partition/file/PartitionFileJobFunctionalTests.java