Download the source code of spring 5.0.4 and compile it with gradle to generate three eclipse projects of spring-jcl spring-core spring-beans but a class below spring-core reports
an error org.springframework.core.ReactiveAdapterRegistry
: The type java.util.concurrent.Flow$Publisher cannot be resolved. It is indirectly referenced from required .class files
请问如何解决?
Solution 1:
java.util.concurrent.Flow$Publisher is only available in Java 1.9, but not in 6, 7, and 8. Please check the jdk version you are using!
Error 2:
提示:GroovyDynamicElementReader cannot be resolved to a type
Add the groovy plugin for eclipse,
In eclipse's Help -> Install New Software, add the groovy download link:
http://dist.springsource.org/milestone/GRECLIPSE/e4.4/, the above address corresponds to the luna plug-in, if you want the corresponding eclipse plugin, you need to go to https://github.com/groovy/groovy-eclipse/wiki (this URL) to find the address.
Then after selecting all, start downloading, after downloading, restart eclipse, then clean the project and you are done.