org.apache.spark#spark-streaming_2.11_2.10; 2.3.1:找不到

时间:2018-12-28 08:36:31

标签: scala apache-spark playframework

你好,我是新手。 在build.sbt中,我尝试添加Scala 2.11的Spark Streaming依赖项,但找不到。

// https://mvnrepository.com/artifact/org.apache.spark/spark-streaming

libraryDependencies += "org.apache.spark" %% "spark-streaming_2.11" % "2.3.1" % "provided"

这给我错误 error

我该怎么办?

1 个答案:

答案 0 :(得分:1)

尝试一下:

libraryDependencies += "org.apache.spark" %% "spark-streaming" % "2.3.1" % "provided"

https://mvnrepository.com/artifact/org.apache.spark/spark-streaming_2.11/2.3.1-选择“ sbt”标签