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

Thomas W. :

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

Thomas W. :

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.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=468859&siteId=1
Recommended