spring源码导入eclipse

  1.去GitHub中下载spring framework的源码,https://github.com/spring-projects/spring-framework/releases java

  2.执行import-into-eclipse.batreact

    连续两次回车,就能够开始自动构建git

    中间出现中止不前的状况里,按ctrl+c终止,再运行就能够进行下去github

 3.在Eclipse菜单File->import选择General下面的Exsiting projects into workspace。spring

  ----------------------------------------不华丽的分割线-------------------------------------------------------eclipse

 导入出现以下错误:gradle

1.GroovyDynamicElementReader找不到ui

 

 解决:表示缺乏groovy插件,在eclipse中安装一个groovy插件,在eclipse的 Help -> Install New Software 中,添加groovy的下载链接:
  http://dist.springsource.com/release/TOOLS/gradlespa

 【官方网址】Groovy官方对于Eclipse安装Groovy插件的网址是:https://github.com/groovy/groovy-eclipse/wiki
【下载说明】插件列表中选择Required(必须的)一项进行安装插件

2. 出现HttpInbound cannot be resolved to a type错误,eclipse提示找不到reactor.core.disposable类。

 

打开spring-framework目录下的gradle.build文件,找到 ext.reactorCoreVersion  = '3.0.3.RELEASE',改为ext.reactorCoreVersion     = '3.0.5.RELEASE'

 

   reactor-core开源代码:https://github.com/reactor/reactor-core/tree/v3.0.5.RELEASE/src/main/java/reactor/core 

  3.0.5.Release有这个类(接口类)

  

 

  改完build。

相关文章
相关标签/搜索