-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Description
안녕하세요 영재님
책의 134페이지 예제 5-5에 나오는 코드를 작성해보고 있는데요
예제코드처럼 AuthorizationCodeResourceDetails 클래스를 사용하려고 하는데
프로젝트에서 클래스가 인식되지 않습니다
어떻게 하면 프로젝트에서 AuthorizationCodeResourceDetails 클래스를 사용할 수 있을까요?
현재 build.gradle 파일의 설정은 다음과 같습니다.
plugins {
id 'org.springframework.boot' version '2.3.0.RELEASE'
id 'io.spring.dependency-management' version '1.0.9.RELEASE'
id 'java'
}
group = 'com.mark'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
compileOnly 'org.projectlombok:lombok'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
runtimeOnly 'com.h2database:h2'
annotationProcessor 'org.projectlombok:lombok'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
}
test {
useJUnitPlatform()
}
감사합니다
dlckdgjs89
Metadata
Metadata
Assignees
Labels
No labels
