构建Spring源码出错

輕楓 2015-08-06 09:39:05
使用Gradle构建Spring源码是报错如下:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'spring'.
> Could not resolve all dependencies for configuration ':classpath'.
> Could not download batik-gvt.jar (org.apache.xmlgraphics:batik-gvt:1.7)
> Could not get resource 'https://repo.spring.io/plugins-release/org/apach
e/xmlgraphics/batik-gvt/1.7/batik-gvt-1.7.jar'.
> Could not GET 'https://repo.spring.io/plugins-release/org/apache/xmlg
raphics/batik-gvt/1.7/batik-gvt-1.7.jar'. Received status code 502 from server:
Bad Gateway

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.

BUILD FAILED

自己查明原因是在repo.spring.io中batik-gvt.jar的1.7版本已经被移除,只有1.8版本,但在buidle.gradle中不知怎么修改,望指点。
repo.spring.io版本库中batik-gvt地址如下:
https://repo.spring.io/plugins-release/org/apache/xmlgraphics/batik-gvt/
...全文
1048 2 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
qingchun698017 2015-10-24
  • 打赏
  • 举报
回复
你好!我也遇到和你一样的问题 但是你说:已解决,直接构建maven支持把所有jar包download下来 这个怎么操作啊?我已经下了spring-framework-3.2.15.RELEASE,希望指导一下~
輕楓 2015-08-07
  • 打赏
  • 举报
回复
已解决,直接构建maven支持把所有jar包download下来后直接粘贴源码即可查看!

67,546

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧