반응형
A problem occurred configuring root project 'project-name'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not resolve org.springframework.boot:spring-boot-gradle-plugin:3.3.0.
     Required by:
         project : > org.springframework.boot:org.springframework.boot.gradle.plugin:3.3.0
      > Dependency requires at least JVM runtime version 17. This build uses a Java 8 JVM.

* Try:
> Run this build using a Java 17 or newer JVM.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

 

intelliJ , gradle 환경 에서 JVM 예전걸 사용한다고 한다.

 

IntelliJ -> Settings -> Build, Execution, Deployment -> Build Tools -> Gradle  에서 보면

Gradle JVM 에 보면 기본 JAVA_HOME에 1.8 이 선택되어져 있다.

요거를 17버전으로 변경해서 선택해주고 Apply 후

Gradle 에서 다시 Raload all Gradle Project 해주었다.

 

메이븐 레포지토리에서 필요한 의존성을 다운로드 받고

 

Download https://repo.maven.apache.org/maven2/org/objenesis/objenesis/3.3/objenesis-3.3-sources.jar, took 48 ms (52.69 kB)

BUILD SUCCESSFUL in 1m 28s

반응형

+ Recent posts