Sometime for some reasons when dealing with open source technology we have interest to download the full source code of the frameworks we use. Either for customization, extending them or just for having a look to have more knowledge how exactly they work.
Spring is a popular framework in Java world. It’s one of my favorite framework in Java. At the time of this blog post, I have just grabbed the source of it from github repository. The source code is fantastic. Nice coding style, project structure, build tool and of course its documentations. While following the guidance to build and import to Spring Tool Suite, I got an error on spring-beans-groovy
project in GroovyBeanDefinitionReader.java
. Navigating to the errors, STS seems try to find a class GroovyDynamicElementReader
but not found.
Honestly I have no any experience with groovy before. When I try to drill through spring-beans-groovy/src/main/groovy/org/springframework/beans/factory/groovy
, finally get a clue GroovyDynamicElementReader.groovy
.
Installing Groovy Eclipse seems solve the problem.
In case you have the same problem as what I got, just ensure you have Groovy Eclipse on your eclipse base IDE.
Reference
- https://github.com/groovy/groovy-eclipse/wiki
- http://blog.csdn.net/zlx510tsde/article/details/46241675