A bean with that name has already been defined 오류
APPLICATION FAILED TO START
Description:
The bean 'sampleChunkJob', defined in class path resource [~], could not be registered. A bean with that name has already been defined in file [~] and overriding is disabled.
Action:
Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true
원인 : 이미 다른곳에서 문제가 되는 bean을 생성해서 생긴 문제
해결 : application.yml에 spring.main.allow-bean-definition-overriding=true 추가로 해결