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。