编译源码报错
来源:2-3 Spring源码的下载和编译
孤独的根号_刘128
2021-05-01
windows系统执行gradlew :spring-oxm:compileTestJava命令时提示
Microsoft Windows [版本 10.0.19042.928]
© Microsoft Corporation。保留所有权利。
D:\PersonDemon\spring-framework-5.2.0.RELEASE>gradlew :spring-oxm:compileTestJava
FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring root project ‘spring-framework-5.2.0.RELEASE’.
Could not resolve all artifacts for configuration ‘:classpath’.
Could not find io.spring.asciidoctor:spring-asciidoctor-extensions:0.1.3.RELEASE.
Searched in the following locations:
- https://maven.aliyun.com/nexus/content/groups/public/io/spring/asciidoctor/spring-asciidoctor-extensions/0.1.3.RELEASE/spring-asciidoctor-extensions-0.1.3.RELEASE.pom
- https://maven.aliyun.com/nexus/content/groups/public/io/spring/asciidoctor/spring-asciidoctor-extensions/0.1.3.RELEASE/spring-asciidoctor-extensions-0.1.3.RELEASE.jar
- https://maven.aliyun.com/nexus/content/repositories/jcenter/io/spring/asciidoctor/spring-asciidoctor-extensions/0.1.3.RELEASE/spring-asciidoctor-extensions-0.1.3.RELEASE.pom
- https://maven.aliyun.com/nexus/content/repositories/jcenter/io/spring/asciidoctor/spring-asciidoctor-extensions/0.1.3.RELEASE/spring-asciidoctor-extensions-0.1.3.RELEASE.jar
- https://plugins.gradle.org/m2/io/spring/asciidoctor/spring-asciidoctor-extensions/0.1.3.RELEASE/spring-asciidoctor-extensions-0.1.3.RELEASE.pom
Required by:
project :
-
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 5s
D:\PersonDemon\spring-framework-5.2.0.RELEASE>
1回答
-
翔仔
2021-05-01
同学好,先按照手记配置一下 ? https://www.imooc.com/article/300527 遇到问题再一起看看
022021-05-05
相似问题