java.lang.ClassCastException

interface akka.actor.Actor is not assignable from class docs.http.javadsl.server.HighLevelServerExample

Solutions on the web424

  • via Google Groups by Unknown author, 9 months ago
    interface akka.actor.Actor is not assignable from class docs.http.javadsl.server.HighLevelServerExample
  • interface akka.actor.Scheduler is not assignable from class akka.actor.LightArrayRevolverScheduler
  • interface akka.actor.ActorRefProvider is not assignable from class akka.actor.LocalActorRefProvider
  • Stack trace

    • java.lang.ClassCastException: interface akka.actor.Actor is not assignable from class docs.http.javadsl.server.HighLevelServerExample at akka.actor.ReflectiveDynamicAccess$$anonfun$getClassFor$1.apply(ReflectiveDynamicAccess.scala:23) at akka.actor.ReflectiveDynamicAccess$$anonfun$getClassFor$1.apply(ReflectiveDynamicAccess.scala:20) at scala.util.Try$.apply(Try.scala:192) at akka.actor.ReflectiveDynamicAccess.getClassFor(ReflectiveDynamicAccess.scala:20) at akka.Main$.main(Main.scala:32) at akka.Main.main(Main.scala)

    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

    Unknown user
    Once, 11 months ago
    Once, 2 days ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago