728x90
org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'cartMapper' for bean class [co.kr.cafe.order.cake.cart.CartMapper] conflicts with existing, non-compatible bean definition of same name and class [co.kr.cafe.order.cart.CartMapper]
at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.checkCandidate(ClassPathBeanDefinitionScanner.java:314)
bean name 'cartMapper' 가 2개라서 충돌남(confilcts)
com.cafe.order.cake.cart.CartMapper
com.cafe.order.cart.CartMapper
참고
itnp.kr - spring annotation-driven 시 bean name 중복(충돌,conflicts) 해결
728x90