Vote count:
0
The exception I'm getting is:
java.lang.NoSuchMethodError: org.apache.http.impl.client.AbstractHttpClient.execute
It appears that in that since version 4.3 of HttpClient, AbstractHttpClient has been deprecated.
It appears the play plugin/my dependencies are including multiple version of httpcore:
and I'm guessing 4.3 is evicting any use of the earlier versions thus making a call to AbstractHttpClient obsolete.
Am I correct that this is the issue? And if so, how do I fix it?
Also, this is my build.sbt (abridged)
lazy val root = (project in file(".")).enablePlugins(PlayScala)
scalaVersion := "2.10.4"
libraryDependencies ++= Seq(
jdbc,
anorm,
cache,
ws,
"org.apache.spark" %% "spark-core" % "1.2.0",
"com.datastax.spark" %% "spark-cassandra-connector" % "1.1.0",
"org.apache.spark" %% "spark-streaming" % "1.2.0",
"org.apache.spark" %% "spark-streaming-kafka" % "1.2.0",
"com.typesafe.akka" %% "akka-actor" % "2.2.3",
"com.typesafe.akka" %% "akka-slf4j" % "2.2.3"
)
Thanks in advance
asked 42 secs ago
apache httpcomponents issues while compiling Play 2 framework template
Aucun commentaire:
Enregistrer un commentaire