spring-framework源码5.3.x环境问题

源码的冒烟测试中
抛出:> Task :spring-core:cglibRepackJar FAILED

Execution failed for task ':spring-core:cglibRepackJar'.
> java.lang.AbstractMethodError (no error message)

* 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.

解决:
在spring-framework_5.3.x_source目录下输入  gradle objenesisRepackJar 和 gradle cglibRepackJar命令 会在Spring-framework\spring-core\build\libs目录下生成jar包。

 

然而输入命令后,又抛:BUILD FAILED in 44s
1 actionable task: 1 executed

A build scan was not published as you have not authenticated with server 'ge.spring.io'.

解决:这个注释掉 setting.gradle 中的 ge.spring.io 就好了
 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

敬业小码哥

你的鼓励是我的动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值