使用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

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。
更多推荐


所有评论(0)