자바(Java)

Annotation-specified bean name conflicts with existing, non-compatible bean

xemaker 2022. 8. 23. 16:43

급하게 소스 복사 붙여넣기 하다가 아래와 같은 에러를 발견 했다.

Annotation-specified bean name conflicts with existing, non-compatible bean

흠.. 급하게 하느라 어떻게 한지 모르겠네..

clean등을 해봐도 똑같았다..

뭔가 없어야 될게 있는거 같은데..

잘 보이지 않았는데 sync 맞춰보니 없어야 될게 있는게 보였다.

삭제하여 해결