Open daeheehan opened 8 years ago
I'm trying a simple example (get query) and getting an exception as follows:
[error] java.lang.NoSuchMethodError: Fatal execution error, caused by com.ning.http.client.AsyncHttpClientConfig$Builder.setAllowPoolingConnection(Z)Lcom/ning/http/client/AsyncHttpClientConfig$Builder; (Couchbase.scala:164) [error] org.reactivecouchbase.CouchbaseBucket.<init>(Couchbase.scala:164) [error] org.reactivecouchbase.ReactiveCouchbaseDriver.bucket(Couchbase.scala:255) [error] app.couchbase.ClickLog$.<init>(ClickLog.scala:13)
Is there any known conflict with AsyncHttpClientConfig?
My build.sbt is like
resolvers ++= Seq( "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/", "ReactiveCouchbase repository" at "https://raw.github.com/ReactiveCouchbase/repository/master/snapshots" ) scalacOptions in Test ++= Seq("-Yrangepos") libraryDependencies ++= Seq( "org.apache.spark" %% "spark-core" % "1.5.1" % "provided", "org.apache.spark" %% "spark-streaming" % "1.5.1", "org.apache.spark" %% "spark-streaming-kafka" % "1.5.1", "org.apache.spark" %% "spark-sql" % "1.5.1", "com.google.inject" % "guice" % "4.0", "com.ning" % "async-http-client" % "1.9.31", "com.typesafe.slick" %% "slick" % "3.0.1", "mysql" % "mysql-connector-java" % "5.1.31", "com.zaxxer" % "HikariCP" % "2.4.1", "com.github.nscala-time" %% "nscala-time" % "2.2.0", "net.debasishg" %% "redisclient" % "3.0", "org.hbase" % "asynchbase" % "1.7.0", "org.apache.hbase" % "hbase-server" % "1.1.2", "org.apache.hbase" % "hbase-client" % "1.1.2", "org.apache.hbase" % "hbase-common" % "1.1.2", "org.apache.hbase" % "hbase-protocol" % "1.1.2", "org.apache.hbase" % "hbase" % "1.1.2", "org.reactivecouchbase" %% "reactivecouchbase-play" % "0.4-SNAPSHOT", "org.specs2" %% "specs2-core" % "3.6.6" % "test" ) dependencyOverrides ++= Set( "com.fasterxml.jackson.core" % "jackson-databind" % "2.4.4", "com.google.guava" % "guava" % "16.0.1", "com.ning" % "async-http-client" % "1.9.31" )
Thank you.
I'm trying a simple example (get query) and getting an exception as follows:
Is there any known conflict with AsyncHttpClientConfig?
My build.sbt is like
Thank you.