
원인
빈 이름이 충돌했기 때문이다.이 에러같은 경우는 친절하게 왜 그런지 읽어보면 알려준다.
Caused by: org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'board' for bean class [com.yn.app.biz.board.BoardServiceImpl] conflicts with existing, non-compatible bean definition of same name and class [com.yn.app.view.board.BoardController]
board 라는 빈 이름이 겹쳐서 그렇다고 한다.

해결방안

겹치지 않도록 바꾸면 된다.
'에러일기' 카테고리의 다른 글
org.springframework.web.multipart.MultipartException (0) | 2024.10.21 |
---|---|
the server responded with a status of 415 () (0) | 2024.10.14 |
[Oracle 연동 오류] ORA-12541 데이터베이스에 접속할 수 없습니다. %s에 리스너가 없습니다. (0) | 2024.10.04 |
[Spring] org.springframework.beans.factory.UnsatisfiedDependencyException 에러 (0) | 2024.10.04 |
[Spring] org.springframework.beans.factory.NoSuchBeanDefinitionException 에러 (0) | 2024.10.01 |