flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendong <wendong....@gmail.com>
Subject Re: Flink Kafka cannot find org/I0Itec/zkclient/serialize/ZkSerializer
Date Sat, 25 Jul 2015 01:10:33 GMT
Below is the build.sbt I am using (also include project/assembly.sbt) :

//------------- Start build.sbt ---------------------------

version := "1.0"

scalaVersion := "2.10.4"

libraryDependencies ++= Seq("org.apache.flink" % "flink-scala" % "0.9.0",
"org.apache.flink" % "flink-clients" % "0.9.0")

libraryDependencies += "org.apache.kafka" %% "kafka" % "0.8.2.1"

libraryDependencies += "org.apache.flink" % "flink-streaming-scala" %
"0.9.0"

libraryDependencies += "org.apache.flink" % "flink-connector-kafka" %
"0.9.0" exclude("org.apache.kafka", "kafka_${scala.binary.version}")

libraryDependencies += "com.101tec" % "zkclient" % "0.3"

// META-INF discarding
mergeStrategy in assembly <<= (mergeStrategy in assembly) { (old) =>
   {
    case PathList("META-INF", xs @ _*) => MergeStrategy.discard
    case x => MergeStrategy.first
   }
}

//------------- End build.sbt ---------------------------

//--------- Start project/assembly.sbt --------------

addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.12.0")

//--------- End project/assembly.sbt --------------




--
View this message in context: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Flink-Kafka-cannot-find-org-I0Itec-zkclient-serialize-ZkSerializer-tp2199p2271.html
Sent from the Apache Flink User Mailing List archive. mailing list archive at Nabble.com.

Mime
View raw message