Skip to content

Instantly share code, notes, and snippets.

@EdgeCaseBerg
Created December 19, 2017 16:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EdgeCaseBerg/8d9d25c83a12a6efdd009c3881bf9fa0 to your computer and use it in GitHub Desktop.
Save EdgeCaseBerg/8d9d25c83a12a6efdd009c3881bf9fa0 to your computer and use it in GitHub Desktop.
How to fix reactive mongo playframework dependency issue when (trying) using 12.6

Getting this?

java.lang.NoSuchMethodError: play.api.libs.iteratee.Execution$Implicits$.trampoline()Lscala/concurrent/ExecutionContext;

Is your build.sbt including a dependency like this?

"org.reactivemongo" %% "play2-reactivemongo" % "0.12.6-play24"

And you're using playframework version 2.4 (2.4.6 for me specifically)?

Then fix the problem by changing your dependency to:

"org.reactivemongo" %% "play2-reactivemongo" % "0.12.6-play24" exclude("com.typesafe.play", "play-iteratees_2.11"),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment