play.api.Application$$anon$1

Execution exception[[RuntimeException: java.lang.IncompatibleClassChangeError: Class com.mongodb.casbah.Imports$ does not implement the requested interface com.mongodb.casbah.query.dsl.SearchOp]]

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • via Stack Overflow by sparkr
    ,
  • Stack trace

    • play.api.Application$$anon$1: Execution exception[[RuntimeException: java.lang.IncompatibleClassChangeError: Class com.mongodb.casbah.Imports$ does not implement the requested interface com.mongodb.casbah.query.dsl.SearchOp]] at play.api.Application$class.handleError(Application.scala:293)[com.typesafe.play.play_2.10-2.2.1.jar:2.2.1] at play.api.DefaultApplication.handleError(Application.scala:399)[com.typesafe.play.play_2.10-2.2.1.jar:2.2.1] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$12$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:165)[com.typesafe.play.play_2.10-2.2.1.jar:2.2.1] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$12$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:162)[com.typesafe.play.play_2.10-2.2.1.jar:2.2.1] at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:33)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.util.Failure$$anonfun$recover$1.apply(Try.scala:185)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.util.Try$.apply(Try.scala:161)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.util.Failure.recover(Try.scala:185)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.concurrent.Future$$anonfun$recover$1.apply(Future.scala:387)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.concurrent.Future$$anonfun$recover$1.apply(Future.scala:387)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:29)[org.scala-lang.scala-library-2.10.2.jar:na] at play.api.libs.iteratee.Execution$$anon$1.execute(Execution.scala:43)[com.typesafe.play.play-iteratees_2.10-2.2.1.jar:2.2.1] at scala.concurrent.impl.CallbackRunnable.executeWithValue(Promise.scala:37)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:133)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.concurrent.Promise$class.complete(Promise.scala:55)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.concurrent.impl.Promise$DefaultPromise.complete(Promise.scala:58)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.concurrent.Future$$anonfun$flatMap$1$$anonfun$apply$3.apply(Future.scala:278)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.concurrent.Future$$anonfun$flatMap$1$$anonfun$apply$3.apply(Future.scala:278)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:29)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.concurrent.Future$InternalCallbackExecutor$Batch$$anonfun$run$1.processBatch$1(Future.scala:731)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.concurrent.Future$InternalCallbackExecutor$Batch$$anonfun$run$1.apply$mcV$sp(Future.scala:746)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.concurrent.Future$InternalCallbackExecutor$Batch$$anonfun$run$1.apply(Future.scala:723)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.concurrent.Future$InternalCallbackExecutor$Batch$$anonfun$run$1.apply(Future.scala:723)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.concurrent.Future$InternalCallbackExecutor$Batch.run(Future.scala:722)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.concurrent.Future$InternalCallbackExecutor$.scala$concurrent$Future$InternalCallbackExecutor$$unbatchedExecute(Future.scala:782)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.concurrent.Future$InternalCallbackExecutor$.execute(Future.scala:773)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.concurrent.impl.CallbackRunnable.executeWithValue(Promise.scala:37)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:133)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.concurrent.Promise$class.complete(Promise.scala:55)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.concurrent.impl.Promise$DefaultPromise.complete(Promise.scala:58)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:274)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:274)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:29)[org.scala-lang.scala-library-2.10.2.jar:na] at play.api.libs.iteratee.Execution$$anon$2.execute(Execution.scala:70)[com.typesafe.play.play-iteratees_2.10-2.2.1.jar:2.2.1] at scala.concurrent.impl.CallbackRunnable.executeWithValue(Promise.scala:37)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:133)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.concurrent.Promise$class.complete(Promise.scala:55)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.concurrent.impl.Promise$DefaultPromise.complete(Promise.scala:58)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:23)[org.scala-lang.scala-library-2.10.2.jar:na] at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:42)[com.typesafe.akka.akka-actor_2.10-2.2.0.jar:2.2.0] at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:386)[com.typesafe.akka.akka-actor_2.10-2.2.0.jar:2.2.0] at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)[org.scala-lang.scala-library-2.10.2.jar:na] Caused by: java.lang.RuntimeException: java.lang.IncompatibleClassChangeError: Class com.mongodb.casbah.Imports$ does not implement the requested interface com.mongodb.casbah.query.dsl.SearchOp at play.api.mvc.ActionBuilder$$anon$1.apply(Action.scala:314)[com.typesafe.play.play_2.10-2.2.1.jar:2.2.1] at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$5.apply(Action.scala:109)[com.typesafe.play.play_2.10-2.2.1.jar:2.2.1] at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$5.apply(Action.scala:109)[com.typesafe.play.play_2.10-2.2.1.jar:2.2.1] at play.utils.Threads$.withContextClassLoader(Threads.scala:18)[com.typesafe.play.play_2.10-2.2.1.jar:2.2.1] at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4.apply(Action.scala:108)[com.typesafe.play.play_2.10-2.2.1.jar:2.2.1] at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4.apply(Action.scala:107)[com.typesafe.play.play_2.10-2.2.1.jar:2.2.1] at scala.Option.map(Option.scala:145)[org.scala-lang.scala-library-2.10.2.jar:na] at play.api.mvc.Action$$anonfun$apply$1.apply(Action.scala:107)[com.typesafe.play.play_2.10-2.2.1.jar:2.2.1] at play.api.mvc.Action$$anonfun$apply$1.apply(Action.scala:100)[com.typesafe.play.play_2.10-2.2.1.jar:2.2.1] at play.api.libs.iteratee.Iteratee$$anonfun$mapM$1.apply(Iteratee.scala:481)[com.typesafe.play.play-iteratees_2.10-2.2.1.jar:2.2.1] at play.api.libs.iteratee.Iteratee$$anonfun$mapM$1.apply(Iteratee.scala:481)[com.typesafe.play.play-iteratees_2.10-2.2.1.jar:2.2.1] at play.api.libs.iteratee.Iteratee$$anonfun$flatMapM$1.apply(Iteratee.scala:517)[com.typesafe.play.play-iteratees_2.10-2.2.1.jar:2.2.1] at play.api.libs.iteratee.Iteratee$$anonfun$flatMapM$1.apply(Iteratee.scala:517)[com.typesafe.play.play-iteratees_2.10-2.2.1.jar:2.2.1] at play.api.libs.iteratee.Iteratee$$anonfun$flatMap$1$$anonfun$apply$13.apply(Iteratee.scala:493)[com.typesafe.play.play-iteratees_2.10-2.2.1.jar:2.2.1] at play.api.libs.iteratee.Iteratee$$anonfun$flatMap$1$$anonfun$apply$13.apply(Iteratee.scala:493)[com.typesafe.play.play-iteratees_2.10-2.2.1.jar:2.2.1] at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)[org.scala-lang.scala-library-2.10.2.jar:na] at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24)[org.scala-lang.scala-library-2.10.2.jar:na] ... 6 more Caused by: java.lang.IncompatibleClassChangeError: Class com.mongodb.casbah.Imports$ does not implement the requested interface com.mongodb.casbah.query.dsl.SearchOp at com.mongodb.casbah.query.dsl.SearchOp$class.$init$(BarewordOperators.scala:405)[casbah-query_2.10-2.7.0-RC2.jar:2.6.2] at com.mongodb.casbah.Imports$.<init>(Implicits.scala:142)[casbah-core_2.10-2.7.0-RC2.jar:2.7.0-RC2] at com.mongodb.casbah.Imports$.<clinit>(Implicits.scala)[casbah-core_2.10-2.7.0-RC2.jar:2.7.0-RC2] at com.q31.scerticles.core.domain.content.Exam$.getAllExamsForTechnologyWithPagination(Exam.scala:59)[scerticles-core-1.0-SNAPSHOT.jar:na] at com.q31.scerticles.core.service.ContentService.allExamsForTechnologyWithPagination(ContentService.scala:46)[scerticles-core-1.0-SNAPSHOT.jar:na] at controllers.content.ExamController$$anonfun$allExamsForTechnology$1.apply(ExamController.scala:37)[com-q31-scerticles.com-q31-scerticles-1.0-SNAPSHOT.jar:1.0-SNAPSHOT] at controllers.content.ExamController$$anonfun$allExamsForTechnology$1.apply(ExamController.scala:35)[com-q31-scerticles.com-q31-scerticles-1.0-SNAPSHOT.jar:1.0-SNAPSHOT] at play.api.mvc.ActionBuilder$$anonfun$apply$10.apply(Action.scala:221)[com.typesafe.play.play_2.10-2.2.1.jar:2.2.1] at play.api.mvc.ActionBuilder$$anonfun$apply$10.apply(Action.scala:220)[com.typesafe.play.play_2.10-2.2.1.jar:2.2.1] at play.api.mvc.Action$.invokeBlock(Action.scala:357)[com.typesafe.play.play_2.10-2.2.1.jar:2.2.1] at play.api.mvc.ActionBuilder$$anon$1.apply(Action.scala:309)[com.typesafe.play.play_2.10-2.2.1.jar:2.2.1] ... 22 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.