play.sbt.PlayExceptions$CompilationException: Compilation error[unreported exception org.apache.http.auth.AuthenticationException; must be caught or declared to be thrown]

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

,

BugmateHits had no serialization method.

,

Import these into your controller:

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

Solutions on the web

via Stack Overflow by raju
, 1 year ago
Compilation error[unreported exception org.apache.http.auth.AuthenticationException; must be caught or declared to be thrown]
via GitHub by slavaschmidt
, 1 year ago
Compilation error[source file '/Users/slasch/work/petstore/app/generated_controllers/string_formats.yaml.scala' could not be found]
via Stack Overflow by Ronnie
, 2 years ago
via GitHub by okthatsneat
, 1 year ago
Compilation error[type mismatch; found : String required: echo.yaml.PostYear (which expands to) Option[String]]
via Stack Overflow by visil
, 1 year ago
Compilation error[illegal start of simple expression]
via Stack Overflow by Ronnie
, 1 year ago
Compilation error[type arguments [models.Brand] conform to the bounds of none of the overloaded alternatives of value apply: [E <: slick.lifted.AbstractTable[_]]=> slick.lifted.TableQuery[E] <and> [E <: slick.lifted.AbstractTable[_]](cons: slick.lifted.Tag => E)slick.lifted.TableQuery[E]]
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 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$.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 scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)
at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:39)
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)

Users with the same issue

301 times, 7 hours ago
89 times, 4 days ago
69 times, 1 month ago
3 times, 2 months ago
7 times, 4 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.