Using Akka with IDEA

Answered

I've got a project that I've imported to IDEA that uses the Akka framework. Everything builds fine with gradle, however when I try and use the IDEA compiling (Build Project) I run into "Error:java: com.sun.tools.javac.code.Symbol$CompletionFailure: class file for akka.actor.SupervisorStrategy$1 not found"

Has anyone else run into trouble using Akka wiith IDEA? I'm curious if it's a matter of incorrect configuration of IDEA. 

I'm using IDEA 2017.1.1 and Akka 2.1.0-RC2

3 comments
Comment actions Permalink

Please share a sample project to reproduce the problem.

0
Comment actions Permalink

1) What are your dependencies for Akka? Remember they have to have the Scala version in their artifact name as well, and all have to have the same Scala version.

 

2) Are you sure about the Akka version? Akka is on release 2.5.0. Even if you had to use an earlier release, using a release candidate seems like a bad idea.

0
Comment actions Permalink

I'm not around my computer to check the exact dependencies, but we are using the release candidate version because this is a legacy project that hasn't been updated in awhile. I'm working on moving the project to a newer version of Akka.

They are all using scala 2.10.

0

Please sign in to leave a comment.