Spring Batch Error1 [ Spring ] Spring Batch 실행시 발생하는 에러들 A bean with that name has already been defined ~ 원인 이미 다른 곳에서 해당 bean이 생성돼 있어서 생기는 문제 해결 application.properties에 spring.main.allow-bean-definition-overriding=true 추가 @bean(name=") 사용해서 이름을 따로 설정 Property or field 'jobParameters' cannot be found on object of type 원인 jobParameter 사용할 때 @StepScope, @JobScope를 사용하지 않아서 발생 해결 @StepScope, @JobScope 사용 2023. 5. 7. 이전 1 다음 반응형