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

Samebug tips

  1. ,

    Thrown when a particular method cannot be found. You are probably using a newer version of Hibernate in your application while pre-packaged hibernate jars that come with JBoss are older.

  2. ,

    I downgraded to spark-notebook scala 2.10 with hadoop 2.6.0 then it worked. Finally switched to Apache Drill, works like a charm for diverse datasets.

Solutions on the web

via GitHub by kiivihal
, 1 year ago
play.api.libs.ws.WSAPI
java.lang.InstantiationException: play.api.libs.ws.WSAPI at java.lang.Class.newInstance(Class.java:427) at play.api.inject.NewInstanceInjector$.instanceOf(Injector.scala:49) at play.api.inject.SimpleInjector$$anonfun$instanceOf$1.apply(Injector.scala:85) at scala.collection.MapLike$class.getOrElse(MapLike.scala:128) at scala.collection.AbstractMap.getOrElse(Map.scala:59) at play.api.inject.SimpleInjector.instanceOf(Injector.scala:85) at play.api.inject.SimpleInjector.instanceOf(Injector.scala:80) at play.api.Application$$anonfun$instanceCache$1.apply(Application.scala:235) at play.api.Application$$anonfun$instanceCache$1.apply(Application.scala:235) at play.utils.InlineCache.fresh(InlineCache.scala:69) at play.utils.InlineCache.apply(InlineCache.scala:55) at play.api.libs.ws.WS$.wsapi(WS.scala:94) at play.api.libs.ws.WS$.url(WS.scala:121) at harvest.Harvesting$class.fetchPMHPage(Harvesting.scala:178) at harvest.Harvester.fetchPMHPage(Harvester.scala:48) at harvest.Harvester$$anonfun$receive$1$$anonfun$applyOrElse$3.apply$mcV$sp(Harvester.scala:161) at nxutil.Utils$.actorWork(Utils.scala:22) at harvest.Harvester$$anonfun$receive$1.applyOrElse(Harvester.scala:158) at akka.actor.Actor$class.aroundReceive(Actor.scala:467) at harvest.Harvester.aroundReceive(Harvester.scala:48) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516) at akka.actor.ActorCell.invoke(ActorCell.scala:487) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238) at akka.dispatch.Mailbox.run(Mailbox.scala:220) at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:397) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)Caused by: java.lang.NoSuchMethodException: play.api.libs.ws.WSAPI.<init>() at java.lang.Class.getConstructor0(Class.java:3082) at java.lang.Class.newInstance(Class.java:412) ... 28 more