SpringFramework源码环境搭建
1、下载源码
git clone git://github.com/SpringSource/Spring-framework.git
2、安装Gradle插件,详见:http://blog.csdn.net/u012343297/article/details/79015783
3、安装Groovy插件,详见:http://blog.csdn.net/u012343297/article/details/79031776
4、执行gradlew.bat和import-into-eclipse.bat
5、Eclipse中导入项目。
源码报错:
The type java.util.concurrent.Flow$Publisher cannot be resolved. It is indirectly referenced from required .class files
原因及解决方案:JDK版本不对,使用JDK 9。
org/codehaus/jdt/groovy/integration/LanguageSupportFactory
原因及解决方案:Eclipse版本和Groovy Jdt不对应。
GroovyDynamicElementReader cannot be resolved to a type
原因及解决方案:Groovy插件没有安装,安装Groovy插件。
还没有评论,来说两句吧...