Build time errors for Akka repo in IntelliJ IDE

Hi ,
I was trying to checkout Akka code and contribute to the docs as my first PR. I made the changes in the IDE but while compiling faced some build errors in IntelliJ IDE which seems to be totally unrelated to my changes in documentation. I think there’s some build compiler setting in IntellIJ which seems to be not documented or missing.

The errors are :

/Users/dhirensr/open_source/akka/akka-actor/src/main/scala/akka/actor/ActorSystem.scala:174:30
object Version is not a member of package akka
object Version is not a member of package akka


/Users/dhirensr/open_source/akka/akka-actor/src/main/scala/akka/util/MessageBuffer.scala:304:18
not found: type Procedure2
  def forEach(f: Procedure2[I, MessageBuffer]): Unit = foreach { case (id, buffer) => f(id, buffer) }

Can someone help with this or if they faced the same issue?

1 Like

Very weird compilation errors, Procedure2 is a class that is also in the same module akka-actor.

I never compile through IntelliJ but use a separate terminal with sbt or the sbt support in IntelliJ so maybe that could be a way to work around it if the problem is when triggering a build inside the IDE.

1 Like

separate terminal with set compiling did help. thanks, will close this thread.