Spring-boot/이슈2 [spring-boot, IntelliJ]Could not resolve org.springframework.boot:spring-boot-gradle-plugin:3.1.9. 스프링 부트 3.x.x이상 부터 초기 설정할때 gradle에서 의존 패키지 가져올때 아래 같은 문제를 직면할수 있다. A problem occurred configuring root project 'xxx'. > Could not resolve all files for configuration ':classpath'. > Could not resolve org.springframework.boot:spring-boot-gradle-plugin:3.1.9. Required by: project : > org.springframeworkrg.springframework.boot.gradle.plugin:3.1.9.boot:o > No matching variant of org.springframework.b.. 2024. 3. 11. Could not find method compile() for arguments [org.springframework.boot:spring-boot-starter-web] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. Could not find method compile() for arguments [org.springframework.boot:spring-boot-starter-web] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. 스프링 부트와 AWS로 혼자 구현하는 웹 서비스 책을 보면 첫 번째로 하는 것이 build.gradle 세팅하는 하는것인데 위와 같은 오류 나는 이유가 책에 나오는 gralde 버전과 지금 최신 gradle 버전이 안맞아서 문제가 생긴것이다. 책의 gradle 버전은 4.8 ~ 4.10인데 지금 기준으로 gradle 버전은 7.x 일것이다. 그래서 책의 내용대로 따라.. 2022. 12. 16. 이전 1 다음