Getting “Scope 'step' is not active for the current thread” while creating spring batch beans

后端 未结 1 1830
無奈伤痛
無奈伤痛 2021-01-18 22:59

In my Spring batch configuration, I\'m trying to setup a partitioned step, which accesses values from JobParameters as follows :

@Bean
@Qualifier(\"partition         


        
相关标签:
1条回答
  • 2021-01-18 23:33

    Please try the option Spring batch scope issue while using spring boot, posted by Manh. I guess it solved the problem. Unfortunately I no longer have access to the code base, to confirm what I did for the fix.

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