Closed
Description
jbotuck@DESKTOP-4O9HHS1:~/spring-batch$ ./gradlew build
Downloading https://services.gradle.org/distributions/gradle-6.7-all.zip
.............10%..............20%..............30%..............40%..............50%..............60%..............70%..............80%..............90%..............100%
Welcome to Gradle 6.7!
Here are the highlights of this release:
- File system watching is ready for production use
- Declare the version of Java your build requires
- Java 15 support
For more details see https://docs.gradle.org/6.7/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'spring-batch'.
> Could not resolve all artifacts for configuration ':classpath'.
> Could not download jruby-gradle-core-plugin-2.0.0.jar (com.github.jruby-gradle:jruby-gradle-core-plugin:2.0.0)
> Could not get resource 'https://repo.spring.io/plugins-release/com/github/jruby-gradle/jruby-gradle-core-plugin/2.0.0/jruby-gradle-core-plugin-2.0.0.jar'.
> Could not GET 'https://repo.spring.io/plugins-release/com/github/jruby-gradle/jruby-gradle-core-plugin/2.0.0/jruby-gradle-core-plugin-2.0.0.jar'. Received status code 401 from server: Unauthorized
> Could not download okhttp-digest-1.10.jar (com.burgstaller:okhttp-digest:1.10)
> Could not get resource 'https://repo.spring.io/plugins-release/com/burgstaller/okhttp-digest/1.10/okhttp-digest-1.10.jar'.
> Could not GET 'https://repo.spring.io/plugins-release/com/burgstaller/okhttp-digest/1.10/okhttp-digest-1.10.jar'. Received status code 401 from server: Unauthorized
* 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 49s