본문 바로가기
개발/SpringBoot

[오류] No matching variant of org.springframework.boot:spring-boot-gradle-plugin:3.0.0 was found.

by yo.na 2022. 12. 18.

✔ 문제

springboot 3.0 빌드 오류

 

> No matching variant of org.springframework.boot:spring-boot-gradle-plugin:3.0.0 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....

✔ 해결과정

sprinbgoot version 3.0 -> 2.7.6 으로 변경

✔ 원인

spring boot 3.0 에서 생기는 오류로 보임

왜 발생하는지는 모르겠음

https://stackoverflow.com/questions/74595549/how-to-fix-spring-boot-gradle-plugin3-0-0-issue

 

How to fix spring-boot-gradle-plugin:3.0.0 issue?

I am deploying spring boot app on heroku using gitlab ci/cd i am using spring boot 3.0.0 and java 17 Anyone knows how to fix it? Also on line 8 it's -----> Installing OpenJDK 1.8... done i don't...

stackoverflow.com