I am having two jobs configured in one context file
<
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.
@Qualifier("JobA")
@Qualifier("JobB")