在构建路径中找到的scala库的版本与scala IDE提供的版本不兼容。

问题描述 投票:0回答:1

我正在写一个spark流媒体应用程序,我使用spark汇编jar.但我得到了以下错误。

在构建路径中找到的scala库的版本与scala IDE提供的版本不兼容:2.10.5。预期:2.11.2。请用scala容器或兼容的scala库jar替换scala库。

scala apache-spark spark-streaming
1个回答
0
投票

这个解决方案对我来说是可行的。

spark build path is cross-compiled with an incompatible version of Scala (2.10.0)

在我的情况下,这是足够的做法。

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.