Oner 发表于 2017-2-13 14:00 ok, 3q |
我使用的是SBT构建的工程,依赖关系如下(使用maven的话,改成相对应的内容即可): libraryDependencies += "org.apache.spark" % "spark-streaming_2.10" % "1.6.1" libraryDependencies += "org.apache.spark" % "spark-streaming-kafka_2.10" % "1.6.1" libraryDependencies += "org.json4s" % "json4s-native_2.10" % "3.4.0" libraryDependencies += "com.alibaba" % "druid" % "1.0.26" |