강의

멘토링

커뮤니티

Inflearn コミュニティ Q&A

dbsdpwnse37021 のプロフィール画像
dbsdpwnse37021

投稿した質問数

Spring Boot JWT Tutorial

DTO、リポジトリ、ログイン

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

解決済みの質問

作成

·

570

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

回答 2

0

silvernine님의 프로필 이미지
silvernine
インストラクター

안녕하세요 🙂

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 のプロフィール画像
dbsdpwnse37021

投稿した質問数

質問する