Search code examples
scalaplayframework-2.3play-reactivemongo

PlayFramework MongoDB Project Setup Failed


I tried setting up a new Play Framework on Scala and MongoDB. I tried all documentation available online, but each time I tried running the project on the terminal I get some obscure error. I have tried to make sense out of it, but all effort prove abortive. I am new Scala and Play Framework developer. Below is the response am getting from the terminal. Thanks

 http://repo.typesafe.com/typesafe/releases/reactive_mongo_plugin/reactive_mongo_plugin_2.10/0.0.43/reactive_mongo_plugin_2.10-0.0.43.pom
[info] Resolving com.typesafe.trace#trace-sigar-libs;0.1.1 ...
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: reactive_mongo_plugin#reactive_mongo_plugin_2.10;0.0.43: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[trace] Stack trace suppressed: run last *:update for the full output.
[error] (*:update) sbt.ResolveException: unresolved dependency: reactive_mongo_plugin#reactive_mongo_plugin_2.10;0.0.43: not found
[error] Total time: 36 s, completed Apr 4, 2015 10:04:19 AM

Solution

  • I guess you try to use the Play plugin, but the dependency doesn't correspond to this lib whose latest artifact is "org.reactivemongo" %% "play2-reactivemongo" % "0.10.5.0.akka23": http://search.maven.org/#search%7Cga%7C1%7Creactivemongo