It occur when I try to build SpringBoot App by gradle.
Because I have diffrent develpoment enviroment (Office and My home).
I resolved it.
menu path : File | > Settings |> Build, Execution, Deployment |> Build Tools |> Gradle
Gradle JVM to JAVA 17 open jdk
A problem occurred configuring root project 'entity'.
> Could not resolve all files for configuration ':classpath'.
> Could not resolve org.springframework.boot:spring-boot-gradle-plugin:3.0.1.
Required by:
project : > org.springframework.boot:org.springframework.boot.gradle.plugin:3.0.1
> No matching variant of org.springframework.boot:spring-boot-gradle-plugin:3.0.1 was found. The consumer was configured to find a runtime of a library compatible with Java 11, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '7.6'
댓글