< 에러 메시지 >
A problem occurred configuring root project 'core'. > Could not resolve all artifacts for configuration ':classpath'. > Could not resolve org.springframework.boot:spring-boot-gradle-plugin:3.2.4. Required by: project : > org.springframework.boot:org.springframework.boot.gradle.plugin:3.2.4 > No matching variant of org.springframework.boot:spring-boot-gradle-plugin:3.2.4 was found.
< 원인 >
Incompatible because this component declares a component for use during compile-time, compatible with Java 17 and the consumer needed a component for use during runtime, compatible with Java 11
https://start.spring.io/ 에서 JAVA 17버전으로 생성하였는데
스피링 생성중 Gradle JVM을 11버전으로 바꾸어 발생
< 해결 >
java 버전을 17로 바꾸어 정상 작동
'에러 모음' 카테고리의 다른 글
org.apache.jasper.JasperException (1) | 2024.04.13 |
---|---|
java.lang.NullPointerException (0) | 2024.04.10 |
o.s.b.d.LoggingFailureAnalysisReporter (0) | 2024.04.09 |
AssertionFailedError (0) | 2024.04.08 |
MissingServletRequestParameterException (0) | 2024.04.08 |