강의

멘토링

커뮤니티

Inflearn Community Q&A

dbsdpwnse37021's profile image
dbsdpwnse37021

asked

Spring Boot JWT Tutorial

DTO, Repository, Login

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

Resolved

Written on

·

566

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.

 

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

spring-bootjwt

Answer 2

0

silvernine님의 프로필 이미지
silvernine
Instructor

안녕하세요 🙂

Spring Boot 3.4.0 (SNAPSHOT) 버전에 맞춰 샘플 코드를 업데이트했습니다.

아래 링크에서 Java와 Kotlin 버전의 최신 샘플 코드를 확인하실 수 있으니 참고 부탁드립니다.

Javahttps://github.com/SilverNine/spring-boot-jwt-tutorial

Kotlinhttps://github.com/SilverNine/spring-boot-jwt-tutorial-kotlin

0

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

dbsdpwnse37021's profile image
dbsdpwnse37021

asked

Ask a question