728x90

intellij에서 spring boot, gradle 환경으로 프로젝트를 새로 생성하는 과정에서 에러가 발생했다.

  • error content
    • No matching variant of org.springframework.boot:spring-boot-gradle-plugin:3.1.1 was found. The consumer was configured to find a library for use during runtime, compatible with Java 11, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '8.1.1' but:

처음에 spring boot의 현재 기준 가장 최신 버전에 해당하는 3.1.1로 생성했다가 발생하였다. 아마 환경설정을 추가로 해줘야하는 부분이 있는 걸로 보이지만 과거 버전이어도 상관이 없기 때문에 2.7.13 버전으로 생성하여 해결하였다.

728x90
TOP