인프런 영문 브랜드 로고
인프런 영문 브랜드 로고

인프런 커뮤니티 질문&답변

신동주님의 프로필 이미지
신동주

작성한 질문수

스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술

스프링 통합 테스트

제가뭘 잘못건드렸는데

작성

·

178

0

Description: Parameter 0 of constructor in hello.eastzoospring.SpringConfig required a bean of type 'hello.eastzoospring.repository.MemberRepository' that could not be found. Action: Consider defining a bean of type 'hello.eastzoospring.repository.MemberRepository' in your configuration. Process finished with exit code 1
 
이렇게 뜹니다..왜그럴까요?//

답변 1

0

안녕하세요. 신동주님, 공식 서포터즈 David입니다.

.
MemberRepository에 @Repository 애노테이션을 붙이셨을까요?

질문 올리실 때 관련된 코드를 함께 올려주시면 답변 드리는데 큰 도움이 됩니다.
.
감사합니다.

신동주님의 프로필 이미지
신동주

작성한 질문수

질문하기