I have Intellij ultimate 11.1, with the scala plugin installed.
I installed scala 2.9.2 using homebrew, which put scala in:
/usr/local/Cellar/scala/2.9.2>
>which scala
/usr/local/bin/scala
>scala -version
Scala code runner version 2.9.2 -- Copyright 2002-2011, LAMP/EPFL
Creating a new java module project, I get this:




Can someone help me fix these issues, why didn’t the scala plugin make this work out of the box? 🙂
You need to specify
/usr/local/Cellar/scala/2.9.2/libexecdirectory on your first screenshot. This is Macbrewspecific, the same case is valid forgrailsinstalled viabrew.Standard Scala distribution download has different layout which IDEA understands correctly,
brewis creatinglibexecdirectory where it writes/liband/srcdirectories expected by IDEA.