Spring Batch : Field or property 'stepExecutionContext' cannot be found

后端 未结 1 1015
臣服心动
臣服心动 2021-01-27 05:30

I have the following spring batch job configuration. There is a single reader which then passes details to a composite writer which has two specific writers. Both writers share

1条回答
  •  青春惊慌失措
    2021-01-27 05:53

    You can access the stepExecutionContext only within a bean defined in the scope="step". Change your bean definition to

    
    
    
    

    0 讨论(0)
提交回复
热议问题