编译源码报错

来源: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’.
  • 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 遇到问题再一起看看

0
2
翔仔
回复
孤独的根号_刘128
看起来像依赖包没有下载下来导致的,通常是网络问题, io.spring.asciidoctor:spring-asciidoctor-extensions:0.1.3.RELEASE 这个包 需要按照课程里面手动下载下来 然后试试
2021-05-05
共2条回复

剑指Java自研框架,决胜Spring源码

快速入门Spring核心源码+从零开发自研框架

1498 学习 · 495 问题

查看课程