Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 539
Thomas W. Avatar asked Jan 12 '18 13:01

Thomas W.


1 Answers

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.

like image 78
Thomas W. Avatar answered Oct 22 '22 11:10

Thomas W.