你好,我是新手。 在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
我该怎么办?
答案 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”标签