play.sbt.PlayExceptions$CompilationException

Compilation error[unreported exception org.apache.http.auth.AuthenticationException; must be caught or declared to be thrown]

Samebug tips2

Import these into your controller:

import play.api.Play.current import play.api.i18n.Messages.Implicits._

BugmateHits had no serialization method.

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

Solutions on the web48

  • via Stack Overflow by raju
    , 10 months ago
    Compilation error[unreported exception org.apache.http.auth.AuthenticationException; must be caught or declared to be thrown]
  • Compilation error[_root_ cannot be imported]
  • via Stack Overflow by geoHeil
    , 1 year ago
    Compilation error[trait Singleton is abstract; cannot be instantiated]
  • Stack trace

    • play.sbt.PlayExceptions$CompilationException: Compilation error[unreported exception org.apache.http.auth.AuthenticationException; must be caught or declared to be thrown] at play.sbt.PlayExceptions$CompilationException$.apply(PlayExceptions.scala:27) at play.sbt.PlayExceptions$CompilationException$.apply(PlayExceptions.scala:27) at scala.Option.map(Option.scala:145) at play.sbt.run.PlayReload$$anonfun$taskFailureHandler$1.apply(PlayReload.scala:49) at play.sbt.run.PlayReload$$anonfun$taskFailureHandler$1.apply(PlayReload.scala:44) at scala.Option.map(Option.scala:145) at play.sbt.run.PlayReload$.taskFailureHandler(PlayReload.scala:44) at play.sbt.run.PlayReload$.compileFailure(PlayReload.scala:40) at play.sbt.run.PlayReload$$anonfun$compile$1.apply(PlayReload.scala:17) at play.sbt.run.PlayReload$$anonfun$compile$1.apply(PlayReload.scala:17) at scala.util.Either$LeftProjection.map(Either.scala:377) at play.sbt.run.PlayReload$.compile(PlayReload.scala:17) at play.sbt.run.PlayRun$$anonfun$playRunTask$1$$anonfun$apply$2$$anonfun$apply$3$$anonfun$2.apply(PlayRun.scala:61) at play.sbt.run.PlayRun$$anonfun$playRunTask$1$$anonfun$apply$2$$anonfun$apply$3$$anonfun$2.apply(PlayRun.scala:61) at play.runsupport.Reloader$$anonfun$reload$1.apply(Reloader.scala:339) at play.runsupport.Reloader$$anon$3.run(Reloader.scala:44) at java.security.AccessController.doPrivileged(Native Method) at play.runsupport.Reloader$.play$runsupport$Reloader$$withReloaderContextClassLoader(Reloader.scala:40) at play.runsupport.Reloader.reload(Reloader.scala:337) at play.core.server.DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1.apply(DevServerStart.scala:118) at play.core.server.DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1.apply(DevServerStart.scala:116) at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24) at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24) at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:39) at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:405) 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)

    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

    595 times, 4 months ago
    36 times, 6 months ago
    19 times, 7 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    14 more bugmates