MyEclipse运行spark程序时报错如下:
spark-unsafe_2.10-1.6.2.jar of DStreamTest build path is cross-compiled with an incompatible version of Scala (2.10.0). In case this report is mistaken, this check can be disabled in the compiler preference page.
这类提示scala版本不兼容的问题,可以按如下方法解决
解决方案:
Windows—>Preferences—>Scala—>Compiler
之后再Compiler界面点击Build manager,取消勾选withVersionClasspathValidator选项