我正在从一个作业工厂类中获取Error creating bean with name 'scopedTarget.scopedTarget.processVlsCasesJob': Scope 'job工厂是在正确的作业/步骤作用域中从主应用程序启动期间调用的bean创建作业和步骤bean的位置。ProcessVlsCasesProcessCasesImpl(); ...
// other bean methods creating the step obje
在我的web.xml中,我删除了contextConfigLocation,而不是指向application context,而是在dispatcher-servlet中定义了我的bean。还是Spring确实会查找contextConfigLocation?
<!--context-param> //This part is commented.listener-class>org.springframework.web.context.ContextLoaderListener<