Spring Batch JUnit test for multiple jobs

前端 未结 5 2014
情深已故
情深已故 2020-12-16 20:24

I am having two jobs configured in one context file


        
            <         


        
5条回答
  •  不知归路
    2020-12-16 20:43

    You have two similar beans declared in bean configuration file. To fix above problem, you need @Qualifier("JobA") and @Qualifier("JobB") to tell Spring about which bean should auto wired to which job.

提交回复
热议问题