Search code examples
javascalaintellij-ideaakkaakka-http

Akka Http.get(ActorSystem) leads to Ambiguous method call in intellij


intellij has problems with when a subclass specifies a more specific return type. This is the case for Akka's Http.get(ActorSystem) method. This is issue is reported to JB but they have not responded yet.

SCL-12302


Solution

  • I found a simple solution for the problem. Simply install the Scala plugin from JetBrains:

    File -> Settings... -> Plugins -> Install JetBrains plugin... -> search for Scala.

    After restarting the IDE the failure is gone.