• 카테고리

    질문 & 답변
  • 세부 분야

    백엔드

  • 해결 여부

    미해결

그대로 따라했는데 오류가 납니다

22.09.23 21:41 작성 조회수 408

0

Description:

Parameter 0 of constructor in com.example.demo.service.CustomUserDetailsService required a bean of type 'com.example.demo.repository.UserRepository' that could not be found.

Action:

Consider defining a bean of type 'com.example.demo.repository.UserRepository' in your configuration.

 

구글링을 해봐도 전혀 해결되지 않아요 ㅠㅠ

답변 1

답변을 작성해보세요.

0

kade님의 프로필

kade

2022.10.19

com.example.demo.repository.UserRepository 파일이 있는지, 그리고 어떻게 작성되었는지 확인이 필요합니다.