org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':classpath'.
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.mapFailure(DefaultConfiguration.java:1531)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.access$3800(DefaultConfiguration.java:159)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$DefaultResolutionHost.mapFailure(DefaultConfiguration.java:2183)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$DefaultResolutionHost.rethrowFailure(DefaultConfiguration.java:2188)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$ConfigurationFileCollection.visitContents(DefaultConfiguration.java:1499)
at org.gradle.api.internal.file.AbstractFileCollection.getFiles(AbstractFileCollection.java:129)
at org.gradle.api.internal.file.AbstractFileCollection.iterator(AbstractFileCollection.java:175)
at org.gradle.internal.classpath.DefaultClassPath.of(DefaultClassPath.java:56)
at org.gradle.api.internal.initialization.DefaultScriptClassPathResolver.resolveClassPath(DefaultScriptClassPathResolver.java:51)
원인: gradle jvm 버전이 안맞아서 에러가 나는것이다.
해결: preferences -> build,execution,deployment -> gradle -> gradle JVM 버전 알맞게 설정
'basic > Java' 카테고리의 다른 글
자바 스트림 (0) | 2023.04.30 |
---|---|
Java 에서 Pair 구현 (0) | 2023.04.30 |
private final, private static final 차이 (0) | 2022.07.08 |
생성자 어노테이션 (0) | 2022.07.01 |
자바 키워드 선언 순서 (0) | 2022.07.01 |