Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by marcospereira
, 1 year ago
The config map entry with key "org.scalatestplus.play.app" had an unexpected (runtime) type: class play.api.DefaultApplication. The expected (runtime) type was: interface play.api.Application. The value was: play.api.DefaultApplication@39ab59f8.
org.scalatest.exceptions.TestCanceledException: The config map entry with key "org.scalatestplus.play.app" had an unexpected (runtime) type: class play.api.DefaultApplication. The expected (runtime) type was: interface play.api.Application. The value was: play.api.DefaultApplication@39ab59f8.	at org.scalatest.ConfigMap.getRequired(ConfigMap.scala:186)	at org.scalatest.ConfigMap.getOptional(ConfigMap.scala:129)	at org.scalatestplus.play.ConfiguredApp$class.run(ConfiguredApp.scala:91)	at org.scalatestplus.play.ConfiguredAppSpec$NestedSuite.run(ConfiguredAppSpec.scala:28)	at org.scalatest.Suite$class.callExecuteOnSuite$1(Suite.scala:1210)	at org.scalatest.Suite$$anonfun$runNestedSuites$1.apply(Suite.scala:1257)	at org.scalatest.Suite$$anonfun$runNestedSuites$1.apply(Suite.scala:1255)	at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)	at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)	at org.scalatest.Suite$class.runNestedSuites(Suite.scala:1255)	at org.scalatestplus.play.ConfiguredAppSpec.org$scalatest$SequentialNestedSuiteExecution$$super$runNestedSuites(ConfiguredAppSpec.scala:26)	at org.scalatest.SequentialNestedSuiteExecution$class.runNestedSuites(SequentialNestedSuiteExecution.scala:42)	at org.scalatestplus.play.ConfiguredAppSpec.runNestedSuites(ConfiguredAppSpec.scala:26)	at org.scalatest.Suite$class.run(Suite.scala:1144)	at org.scalatest.WordSpec.org$scalatest$WordSpecLike$$super$run(WordSpec.scala:1881)	at org.scalatest.WordSpecLike$$anonfun$run$1.apply(WordSpecLike.scala:1192)	at org.scalatest.WordSpecLike$$anonfun$run$1.apply(WordSpecLike.scala:1192)	at org.scalatest.SuperEngine.runImpl(Engine.scala:521)	at org.scalatest.WordSpecLike$class.run(WordSpecLike.scala:1192)	at org.scalatestplus.play.ConfiguredAppSpec.org$scalatestplus$play$BaseOneAppPerSuite$$super$run(ConfiguredAppSpec.scala:26)	at org.scalatestplus.play.BaseOneAppPerSuite$class.run(BaseOneAppPerSuite.scala:46)	at org.scalatestplus.play.ConfiguredAppSpec.run(ConfiguredAppSpec.scala:26)