scala - play framework: Modules were resolved with conflicting cross-version suffixes -
i want use elastic search play framework followed this guide
here build.sbt file
name := """es-with-play""" version := "1.0-snapshot" lazy val root = (project in file(".")).enableplugins(playscala) scalaversion := "2.11.1" librarydependencies ++= seq( jdbc, anorm, cache, ws, "com.clever-age" % "play2-elasticsearch" % "1.4-snapshot" ) resolvers += "sonatype oss snapshots" @ "https://oss.sonatype.org/content/repositories/snapshots"
and in play console when compile code gives following errors
[error] modules resolved conflicting cross-version suffixes in {file:/media/sara/new%20volume/programs/programs/play/es-with-play/}root: [error] com.jsuereth:scala-arm _2.11, _2.10 [error] com.typesafe.play:play-functional _2.11, _2.10 [error] com.typesafe.akka:akka-actor _2.11, _2.10 [error] com.typesafe.play:play-json _2.11, _2.10 [error] com.typesafe.play:play _2.11, _2.10 [error] com.typesafe.play:play-iteratees _2.11, _2.10 [error] com.typesafe.akka:akka-slf4j _2.11, _2.10 [error] org.scala-stm:scala-stm _2.11, _2.10 [error] com.typesafe.play:play-datacommons _2.11, _2.10 [trace] stack trace suppressed: run last *:update full output. [error] (*:update) conflicting cross-version suffixes in: com.jsuereth:scala-arm, com.typesafe.play:play-functional, com.typesafe.akka:akka-actor, com.typesafe.play:play-json, com.typesafe.play:play, com.typesafe.play:play-iteratees, com.typesafe.akka:akka-slf4j, org.scala-stm:scala-stm, com.typesafe.play:play-datacommons [error] total time: 10 s, completed dec 16, 2014 2:22:39 pm
i using play 2.3 , scala version 2.11.1 , elasticsearch-1.4.1 please me how can solve error
you using play 2.3, github page states play2-elasticsearch 1.4 compatible play 2.2. furthermore, seems if there's no version available yet compiled against scala 2.11 (see this issue). so, guess you'd need downgrade play 2.2.1 , scala 2.10 or try workaround mentioned in github issue using excludes.
Comments
Post a Comment