解决方法非常简单:
多个Java项目一起编译时经常会出现不编译,或者报一些假性错误,需要在eclipse选型中勾掉“Abort build when build path errors occur”并将"Circular dependencies"改为Warring,否则出现项目循环依赖等情况就无法编译。
Eclipse Menu -> Window -> Preferences... -> Java -> Compiler -> Building -> Building path problems -> Circular dependencies -> 将Error改成Warning