카테고리 없음2020. 11. 12. 15:23
반응형

itnp.kr/post/spring-annotation-driven-bean-name-conflicts

 

spring annotation-driven 사용시 bean name 중복(충돌,conflicts) 해결

spring은 annotation-driven component scan 시 기본적으로 Bean 이름으로 id를 결정한다. 이때 동일한 이름의 클래스(컴포넌트)가 존재한다면 동일한 id 를 가지게 되고 'conflicts with existing' 오류가 발생한다. B

itnp.kr

 

Posted by 1010