Skip to content

Instantly share code, notes, and snippets.

@NicolaeNMV
Last active February 17, 2021 15:35
Show Gist options
  • Save NicolaeNMV/83905111913ff8777a031e04b2ace49f to your computer and use it in GitHub Desktop.
Save NicolaeNMV/83905111913ff8777a031e04b2ace49f to your computer and use it in GitHub Desktop.
How to run akka actors in Intelij Worksheet

Missing resource

Scala code run from Intellij Worksheet doesn't seem to be able to find the akka actor resources.

The error is:

com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'akka'

There is an opened ticket on Intellij bugtracker https://youtrack.jetbrains.com/issue/SCL-9229 with a work arround

A work around is unticking "Run worksheet in the compiler process" under "Preferences > Languages & Frameworks > Scala > Worksheet".

I tried and it worked. Please upvote the issue.

@ahonarmand-zz
Copy link

@mikesmithgh
Copy link

👍 thank you!

@vasily-kirichenko
Copy link

Great, thank you!

@Swoorup
Copy link

Swoorup commented Feb 17, 2021

vscode + metals user what to do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment