使用gradle4.3构建spring源码的时候报错:
Posted Jeff~李
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了使用gradle4.3构建spring源码的时候报错:相关的知识,希望对你有一定的参考价值。
* What went wrong:
A problem occurred configuring root project 'spring'.
> Could not resolve all files for configuration ':classpath'.
> Could not resolve org.jetbrains.dokka:integration:0.9.15.
Required by:
project : > org.jetbrains.dokka:dokka-gradle-plugin:0.9.15
> Could not resolve org.jetbrains.dokka:integration:0.9.15.
> Could not get resource 'https://repo.spring.io/plugins-release/org/jetbrains/dokka/integration/0.9.15/integration-0.9.15.pom'.
> Could not GET 'https://repo.spring.io/plugins-release/org/jetbrains/dokka/integration/0.9.15/integration-0.9.15.pom'. 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.
* Get more help at https://help.gradle.org
解决办法:
打开spring中的build.gradle文件,改成0.9.17
以上是关于使用gradle4.3构建spring源码的时候报错:的主要内容,如果未能解决你的问题,请参考以下文章