I can't build spring-framework
.
I cloned this repository, and runned ./gradlew
. Here are the errors produced by Gradle:
```FAILURE: Build failed with an exception.
-
What went wrong: A problem occurred configuring root project 'spring'.
Could not resolve all artifacts for configuration ':classpath'. Could not resolve me.champeau.jmh:jmh-gradle-plugin:0.6.6. Required by: project : > me.champeau.jmh:me.champeau.jmh.gradle.plugin:0.6.6 > Could not resolve me.champeau.jmh:jmh-gradle-plugin:0.6.6. > Could not get resource 'https://plugins.gradle.org/m2/me/champeau/jmh/jmh-gradle-plugin/0.6.6/jmh-gradle-plugin-0.6.6.module'. > Could not GET 'https://jcenter.bintray.com/me/champeau/jmh/jmh-gradle-plugin/0.6.6/jmh-gradle-plugin-0.6.6.module'. > Read timed out Could not resolve org.jetbrains.kotlin:kotlin-serialization:1.5.30. Required by: project : > org.jetbrains.kotlin.plugin.serialization:org.jetbrains.kotlin.plugin.serialization.gradle.plugin:1.5.30 > Skipped due to earlier error > Could not resolve org.jetbrains.kotlin:kotlin-serialization:1.5.30. > Could not get resource 'https://repo.spring.io/plugins-release/org/jetbrains/kotlin/kotlin-serialization/1.5.30/kotlin-serialization-1.5.30.pom'. > Could not HEAD 'https://repo.spring.io/plugins-release/org/jetbrains/kotlin/kotlin-serialization/1.5.30/kotlin-serialization-1.5.30.pom'. Received status code 401 from server: Could not resolve org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.0. Required by: project : > io.spring.nohttp:io.spring.nohttp.gradle.plugin:0.0.10 > io.spring.nohttp:nohttp-gradle:0.0.10 > Skipped due to earlier error > Could not resolve org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.0. > Could not get resource 'https://repo.spring.io/plugins-release/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.5.0/kotlin-stdlib-jdk8-1.5.0.pom'. > Could not HEAD 'https://repo.spring.io/plugins-release/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.5.0/kotlin-stdlib-jdk8-1.5.0.pom'. Received status code 401 from server: Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin-api:1.5.30. Required by: project : > org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.5.30 > org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30 > Skipped due to earlier error > Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin-api:1.5.30. > Could not get resource 'https://repo.spring.io/plugins-release/org/jetbrains/kotlin/kotlin-gradle-plugin-api/1.5.30/kotlin-gradle-plugin-api-1.5.30.pom'. > Could not HEAD 'https://repo.spring.io/plugins-release/org/jetbrains/kotlin/kotlin-gradle-plugin-api/1.5.30/kotlin-gradle-plugin-api-1.5.30.pom'. Received status code 401 from server: Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin-model:1.5.30. Required by: project : > org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.5.30 > org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30 > Skipped due to earlier error > Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin-model:1.5.30. > Could not get resource 'https://repo.spring.io/plugins-release/org/jetbrains/kotlin/kotlin-gradle-plugin-model/1.5.30/kotlin-gradle-plugin-model-1.5.30.pom'. > Could not HEAD 'https://repo.spring.io/plugins-release/org/jetbrains/kotlin/kotlin-gradle-plugin-model/1.5.30/kotlin-gradle-plugin-model-1.5.30.pom'. Received status code 401 from server: Could not resolve org.jetbrains.kotlin:kotlin-util-klib:1.5.30. Required by: project : > org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.5.30 > org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30 > Skipped due to earlier error > Could not resolve org.jetbrains.kotlin:kotlin-util-klib:1.5.30. > Could not get resource 'https://repo.spring.io/plugins-release/org/jetbrains/kotlin/kotlin-util-klib/1.5.30/kotlin-util-klib-1.5.30.pom'. > Could not HEAD 'https://repo.spring.io/plugins-release/org/jetbrains/kotlin/kotlin-util-klib/1.5.30/kotlin-util-klib-1.5.30.pom'. Received status code 401 from server: Could not resolve org.jetbrains.kotlin:kotlin-klib-commonizer-api:1.5.30. Required by: project : > org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.5.30 > org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30 > Skipped due to earlier error > Could not resolve org.jetbrains.kotlin:kotlin-klib-commonizer-api:1.5.30. > Could not get resource 'https://repo.spring.io/plugins-release/org/jetbrains/kotlin/kotlin-klib-commonizer-api/1.5.30/kotlin-klib-commonizer-api-1.5.30.pom'. > Could not HEAD 'https://repo.spring.io/plugins-release/org/jetbrains/kotlin/kotlin-klib-commonizer-api/1.5.30/kotlin-klib-commonizer-api-1.5.30.pom'. Received status code 401 from server: Could not resolve org.jetbrains.kotlin:kotlin-tooling-metadata:1.5.30. Required by: project : > org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.5.30 > org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30 > Skipped due to earlier error > Could not resolve org.jetbrains.kotlin:kotlin-tooling-metadata:1.5.30. > Could not get resource 'https://repo.spring.io/plugins-release/org/jetbrains/kotlin/kotlin-tooling-metadata/1.5.30/kotlin-tooling-metadata-1.5.30.pom'. > Could not HEAD 'https://repo.spring.io/plugins-release/org/jetbrains/kotlin/kotlin-tooling-metadata/1.5.30/kotlin-tooling-metadata-1.5.30.pom'. Received status code 401 from server: Could not resolve org.jetbrains.kotlin:kotlin-project-model:1.5.30. Required by: project : > org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.5.30 > org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30 > Skipped due to earlier error > Could not resolve org.jetbrains.kotlin:kotlin-project-model:1.5.30. > Could not get resource 'https://repo.spring.io/plugins-release/org/jetbrains/kotlin/kotlin-project-model/1.5.30/kotlin-project-model-1.5.30.pom'. > Could not HEAD 'https://repo.spring.io/plugins-release/org/jetbrains/kotlin/kotlin-project-model/1.5.30/kotlin-project-model-1.5.30.pom'. Received status code 401 from server: Could not resolve org.jetbrains.kotlin:kotlin-compiler-embeddable:1.5.30. Required by: project : > org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.5.30 > org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30 > Skipped due to earlier error > Could not resolve org.jetbrains.kotlin:kotlin-compiler-embeddable:1.5.30. > Could not get resource 'https://repo.spring.io/plugins-release/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.5.30/kotlin-compiler-embeddable-1.5.30.pom'. > Could not HEAD 'https://repo.spring.io/plugins-release/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.5.30/kotlin-compiler-embeddable-1.5.30.pom'. Received status code 401 from server: Could not resolve org.jetbrains.kotlin:kotlin-annotation-processing-gradle:1.5.30. Required by: project : > org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.5.30 > org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30 > Skipped due to earlier error > Could not resolve org.jetbrains.kotlin:kotlin-annotation-processing-gradle:1.5.30. > Could not get resource 'https://repo.spring.io/plugins-release/org/jetbrains/kotlin/kotlin-annotation-processing-gradle/1.5.30/kotlin-annotation-processing-gradle-1.5.30.pom'. > Could not HEAD 'https://repo.spring.io/plugins-release/org/jetbrains/kotlin/kotlin-annotation-processing-gradle/1.5.30/kotlin-annotation-processing-gradle-1.5.30.pom'. Received status code 401 from server: Could not resolve org.jetbrains.kotlin:kotlin-android-extensions:1.5.30. Required by: project : > org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.5.30 > org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30 > Skipped due to earlier error > Could not resolve org.jetbrains.kotlin:kotlin-android-extensions:1.5.30. > Could not get resource 'https://repo.spring.io/plugins-release/org/jetbrains/kotlin/kotlin-android-extensions/1.5.30/kotlin-android-extensions-1.5.30.pom'. > Could not HEAD 'https://repo.spring.io/plugins-release/org/jetbrains/kotlin/kotlin-android-extensions/1.5.30/kotlin-android-extensions-1.5.30.pom'. Received status code 401 from server: Could not resolve org.jetbrains.kotlin:kotlin-compiler-runner:1.5.30. Required by: project : > org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.5.30 > org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30 > Skipped due to earlier error > Could not resolve org.jetbrains.kotlin:kotlin-compiler-runner:1.5.30. > Could not get resource 'https://repo.spring.io/plugins-release/org/jetbrains/kotlin/kotlin-compiler-runner/1.5.30/kotlin-compiler-runner-1.5.30.pom'. > Could not HEAD 'https://repo.spring.io/plugins-release/org/jetbrains/kotlin/kotlin-compiler-runner/1.5.30/kotlin-compiler-runner-1.5.30.pom'. Received status code 401 from server: Could not resolve org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable:1.5.30. Required by: project : > org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.5.30 > org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30 > Skipped due to earlier error > Could not resolve org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable:1.5.30. > Could not get resource 'https://repo.spring.io/plugins-release/org/jetbrains/kotlin/kotlin-scripting-compiler-embeddable/1.5.30/kotlin-scripting-compiler-embeddable-1.5.30.pom'. > Could not HEAD 'https://repo.spring.io/plugins-release/org/jetbrains/kotlin/kotlin-scripting-compiler-embeddable/1.5.30/kotlin-scripting-compiler-embeddable-1.5.30.pom'. Received status code 401 from server: Could not resolve org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable:1.5.30. Required by: project : > org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.5.30 > org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30 > Skipped due to earlier error > Could not resolve org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable:1.5.30. > Could not get resource 'https://repo.spring.io/plugins-release/org/jetbrains/kotlin/kotlin-scripting-compiler-impl-embeddable/1.5.30/kotlin-scripting-compiler-impl-embeddable-1.5.30.pom'. > Could not HEAD 'https://repo.spring.io/plugins-release/org/jetbrains/kotlin/kotlin-scripting-compiler-impl-embeddable/1.5.30/kotlin-scripting-compiler-impl-embeddable-1.5.30.pom'. Received status code 401 from server: Could not resolve org.jetbrains.dokka:dokka-core:1.5.0. Required by: project : > org.jetbrains.dokka:org.jetbrains.dokka.gradle.plugin:1.5.0 > org.jetbrains.dokka:dokka-gradle-plugin:1.5.0 > Skipped due to earlier error > Could not resolve org.jetbrains.dokka:dokka-core:1.5.0. > Could not get resource 'https://repo.spring.io/plugins-release/org/jetbrains/dokka/dokka-core/1.5.0/dokka-core-1.5.0.pom'. > Could not HEAD 'https://repo.spring.io/plugins-release/org/jetbrains/dokka/dokka-core/1.5.0/dokka-core-1.5.0.pom'. Received status code 401 from server: Could not resolve org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.0. Required by: project : > org.jetbrains.dokka:org.jetbrains.dokka.gradle.plugin:1.5.0 > org.jetbrains.dokka:dokka-gradle-plugin:1.5.0 > Skipped due to earlier error > Could not resolve org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.0. > Could not get resource 'https://repo.spring.io/plugins-release/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.5.0/kotlin-stdlib-jdk8-1.5.0.pom'. > Could not HEAD 'https://repo.spring.io/plugins-release/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.5.0/kotlin-stdlib-jdk8-1.5.0.pom'. Received status code 401 from server: Could not resolve org.ysb33r.gradle:grolifant:0.16.1. Required by: project : > org.asciidoctor.jvm.convert:org.asciidoctor.jvm.convert.gradle.plugin:3.3.2 > org.asciidoctor:asciidoctor-gradle-jvm:3.3.2 project : > org.asciidoctor.jvm.pdf:org.asciidoctor.jvm.pdf.gradle.plugin:3.3.2 > org.asciidoctor:asciidoctor-gradle-jvm-pdf:3.3.2 > Skipped due to earlier error > Could not resolve org.ysb33r.gradle:grolifant:0.16.1. > Could not get resource 'https://repo.spring.io/plugins-release/org/ysb33r/gradle/grolifant/0.16.1/grolifant-0.16.1.pom'. > Could not GET 'https://repo.spring.io/plugins-release/org/ysb33r/gradle/grolifant/0.16.1/grolifant-0.16.1.pom'. Received status code 401 from server: Could not resolve org.asciidoctor:asciidoctor-gradle-base:3.3.2. Required by: project : > org.asciidoctor.jvm.convert:org.asciidoctor.jvm.convert.gradle.plugin:3.3.2 > org.asciidoctor:asciidoctor-gradle-jvm:3.3.2 > Skipped due to earlier error > Could not resolve org.asciidoctor:asciidoctor-gradle-base:3.3.2. > Could not get resource 'https://repo.spring.io/plugins-release/org/asciidoctor/asciidoctor-gradle-base/3.3.2/asciidoctor-gradle-base-3.3.2.pom'. > Could not GET 'https://repo.spring.io/plugins-release/org/asciidoctor/asciidoctor-gradle-base/3.3.2/asciidoctor-gradle-base-3.3.2.pom'. Received status code 401 from server: Could not resolve com.thoughtworks.xstream:xstream:1.4.17. Required by: project : > com.github.ben-manes.versions:com.github.ben-manes.versions.gradle.plugin:0.39.0 > com.github.ben-manes:gradle-versions-plugin:0.39.0 > Skipped due to earlier error > Could not resolve com.thoughtworks.xstream:xstream:1.4.17. > Could not get resource 'https://repo.spring.io/plugins-release/com/thoughtworks/xstream/xstream/1.4.17/xstream-1.4.17.pom'. > Could not HEAD 'https://repo.spring.io/plugins-release/com/thoughtworks/xstream/xstream/1.4.17/xstream-1.4.17.pom'. Received status code 401 from server: Could not resolve com.gradle.publish:plugin-publish-plugin:0.14.0. Required by: project : > com.github.johnrengelman.shadow:com.github.johnrengelman.shadow.gradle.plugin:7.0.0 > gradle.plugin.com.github.jengelman.gradle.plugins:shadow:7.0.0 > Skipped due to earlier error > Could not resolve com.gradle.publish:plugin-publish-plugin:0.14.0. > Could not get resource 'https://repo.spring.io/plugins-release/com/gradle/publish/plugin-publish-plugin/0.14.0/plugin-publish-plugin-0.14.0.pom'. > Could not GET 'https://repo.spring.io/plugins-release/com/gradle/publish/plugin-publish-plugin/0.14.0/plugin-publish-plugin-0.14.0.pom'. Received status code 401 from server: Could not resolve org.ow2.asm:asm:9.1. Required by: project : > com.github.johnrengelman.shadow:com.github.johnrengelman.shadow.gradle.plugin:7.0.0 > gradle.plugin.com.github.jengelman.gradle.plugins:shadow:7.0.0 > Skipped due to earlier error > Could not resolve org.ow2.asm:asm:9.1. > Could not get resource 'https://repo.spring.io/plugins-release/org/ow2/asm/asm/9.1/asm-9.1.pom'. > Could not HEAD 'https://repo.spring.io/plugins-release/org/ow2/asm/asm/9.1/asm-9.1.pom'. Received status code 401 from server: Could not resolve org.ow2.asm:asm-commons:9.1. Required by: project : > com.github.johnrengelman.shadow:com.github.johnrengelman.shadow.gradle.plugin:7.0.0 > gradle.plugin.com.github.jengelman.gradle.plugins:shadow:7.0.0 > Skipped due to earlier error > Could not resolve org.ow2.asm:asm-commons:9.1. > Could not get resource 'https://repo.spring.io/plugins-release/org/ow2/asm/asm-commons/9.1/asm-commons-9.1.pom'. > Could not HEAD 'https://repo.spring.io/plugins-release/org/ow2/asm/asm-commons/9.1/asm-commons-9.1.pom'. Received status code 401 from server: Could not resolve commons-io:commons-io:2.8.0. Required by: project : > com.github.johnrengelman.shadow:com.github.johnrengelman.shadow.gradle.plugin:7.0.0 > gradle.plugin.com.github.jengelman.gradle.plugins:shadow:7.0.0 > Skipped due to earlier error > Could not resolve commons-io:commons-io:2.8.0. > Could not get resource 'https://repo.spring.io/plugins-release/commons-io/commons-io/2.8.0/commons-io-2.8.0.pom'. > Could not HEAD 'https://repo.spring.io/plugins-release/commons-io/commons-io/2.8.0/commons-io-2.8.0.pom'. Received status code 401 from server: Could not resolve org.apache.ant:ant:1.10.9. Required by: project : > com.github.johnrengelman.shadow:com.github.johnrengelman.shadow.gradle.plugin:7.0.0 > gradle.plugin.com.github.jengelman.gradle.plugins:shadow:7.0.0 > Skipped due to earlier error > Could not resolve org.apache.ant:ant:1.10.9. > Could not get resource 'https://repo.spring.io/plugins-release/org/apache/ant/ant/1.10.9/ant-1.10.9.pom'. > Could not HEAD 'https://repo.spring.io/plugins-release/org/apache/ant/ant/1.10.9/ant-1.10.9.pom'. Received status code 401 from server: Could not resolve org.codehaus.plexus:plexus-utils:3.3.0. Required by: project : > com.github.johnrengelman.shadow:com.github.johnrengelman.shadow.gradle.plugin:7.0.0 > gradle.plugin.com.github.jengelman.gradle.plugins:shadow:7.0.0 > Skipped due to earlier error > Could not resolve org.codehaus.plexus:plexus-utils:3.3.0. > Could not get resource 'https://repo.spring.io/plugins-release/org/codehaus/plexus/plexus-utils/3.3.0/plexus-utils-3.3.0.pom'. > Could not HEAD 'https://repo.spring.io/plugins-release/org/codehaus/plexus/plexus-utils/3.3.0/plexus-utils-3.3.0.pom'. Received status code 401 from server: Could not resolve org.apache.logging.log4j:log4j-core:2.14.1. Required by: project : > com.github.johnrengelman.shadow:com.github.johnrengelman.shadow.gradle.plugin:7.0.0 > gradle.plugin.com.github.jengelman.gradle.plugins:shadow:7.0.0 > Skipped due to earlier error > Could not resolve org.apache.logging.log4j:log4j-core:2.14.1. > Could not get resource 'https://repo.spring.io/plugins-release/org/apache/logging/log4j/log4j-core/2.14.1/log4j-core-2.14.1.pom'. > Could not GET 'https://repo.spring.io/plugins-release/org/apache/logging/log4j/log4j-core/2.14.1/log4j-core-2.14.1.pom'. Received status code 401 from server: Could not resolve org.vafer:jdependency:2.6.0. Required by: project : > com.github.johnrengelman.shadow:com.github.johnrengelman.shadow.gradle.plugin:7.0.0 > gradle.plugin.com.github.jengelman.gradle.plugins:shadow:7.0.0 > Skipped due to earlier error > Could not resolve org.vafer:jdependency:2.6.0. > Could not get resource 'https://repo.spring.io/plugins-release/org/vafer/jdependency/2.6.0/jdependency-2.6.0.pom'. > Could not HEAD 'https://repo.spring.io/plugins-release/org/vafer/jdependency/2.6.0/jdependency-2.6.0.pom'. Received status code 401 from server:
-
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
-
Get more help at https://help.gradle.org
BUILD FAILED in 1m 36s 6 actionable tasks: 6 up-to-date ```
I guess it is related to https://spring.io/blog/2020/10/29/notice-of-permissions-changes-to-repo-spring-io-fall-and-winter-2020, but I don't understand how I am supposed to fix it.
Comment From: bclozel
JCenter is currently having issues and this is affecting the Gradle plugins portal.