[에러노트] Could not resolve org.springframework.boot:spring-boot-gradle-plugin:3.0.0

hyewon jeong·2022년 12월 27일
0

에러노트

목록 보기
2/46

1 발생

인텔리제이를 이용한 스프링이니셜라이저로 프로젝트를 만들고 띄웠을 때 오류가 발생 했습니다.

2 에러코드

A problem occurred configuring root project 'springmvc4'.
> Could not resolve all files for configuration ':classpath'.
   > Could not resolve org.springframework.boot:spring-boot-gradle-plugin:3.0.0.
     Required by:
         project : > org.springframework.boot:org.springframework.boot.gradle.plugin:3.0.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 8, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '7.5.1' but:
          - Variant 'apiElements' capability org.springframework.boot:spring-boot-gradle-plugin:3.0.0 declares a library, packaged as a jar, and its dependencies declared externally:
              - Incompatible because this component declares an API of a component compatible with Java 17 and the consumer needed a runtime of a component compatible with Java 8
              - Other compatible attribute:

3 해결 :

구글링 ,

의에서 언급되는 것과 같이 M이 붙거나 SNAPSHOT 버전은 피해주세요.

2.7.6으로 하니 해결 됐습니다.

profile
개발자꿈나무

0개의 댓글