Skip to content

Instantly share code, notes, and snippets.

@NicolaeNMV
Last active February 17, 2021 15:35
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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.

@nbenns
Copy link

nbenns commented Jan 30, 2018

wish I knew where that was in windows

@nbenns
Copy link

nbenns commented Jan 30, 2018

File > Other Settings > Default Settings > Languages & Frameworks > Scala > Worksheet
Not working for me

@pinguinson
Copy link

Worked for me, thanks!

@mavarazy
Copy link

+1 Thanks worked

@kkrs
Copy link

kkrs commented Apr 24, 2018

Worked for me, thanks !

@iarigby
Copy link

iarigby commented Jul 27, 2018

Thanks for this!

@oyinda-subair
Copy link

Worked for me, thanks!!!

@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