gradle 转换spring源码成eclipse工程

1、下载spring源码方式:
方式一、通过Git客户端下载:
C:\Users\libingshen>git clone https://github.com/spring-projects/spring-framework.git

方式二、通过eclipse的svn检出:
这里写图片描述

2、spring源码转换成eclipse工程
方式一:转换通过Git客户端下载的spring源码
进入到指定目录,转换时报错:

C:\workspace\Users\libingsen\spring\spring-framework\spring-tx>gradle cleanidea eclipse

FAILURE: Build failed with an exception.

* What went wrong:
Could not open cp_settings remapped class cache for 5qgxdz1e0puslw9ybclj2z10a (C:\Users\libingshen\.gradle\caches\4.5.1\scripts-remapped\settings_cxfogugc33xy6ydqdwuf9jgao\5qgxdz1e0puslw9ybclj2z10a\cp_settings563fc8ebfcf8c58ce3cd23759d4841f4).
> Could not open cp_settings generic class cache for settings file 'C:\workspace\Users\libingsen\spring\spring-framework\settings.gradle' (C:\Users\libingshen\.gradle\caches\4.5.1\scripts\5qgxdz1e0puslw9ybclj2z10a\cp_settings\cp_settings563fc8ebfcf8c58ce3cd23759d4841f4).
   > java.io.FileNotFoundException: C:\Users\libingshen\.gradle\caches\4.5.1\scripts\5qgxdz1e0puslw9ybclj2z10a\cp_settings\cp_settings563fc8ebfcf8c58ce3cd23759d4841f4\cache.properties (系统找不到指定的文件。)

* 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 6s

方式二:转换通过eclipse的svn检出的spring源码
进入到指定目录,转换时报错:

C:\workspace\Users\libingsen\spring2\4.3.x\spring-tx>gradle cleanidea eclipse
Starting a Gradle Daemon, 2 incompatible and 2 stopped Daemons could not be reused, use --status for details

FAILURE: Build failed with an exception.

* What went wrong:
org/gradle/listener/ActionBroadcast
> org.gradle.listener.ActionBroadcast

* 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 7s
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值