intellij error while importing SBT project

Allen Wang Source

I recently installed IntelliJ on Ubuntu 16.04, but I'm getting this error while trying to start a Scala project:

enter image description here

This is my first linux computer, and I installed the oracle 8 jdk through the package manager, not sure if it's something wrong with this configuration or something else. Am I missing some java variables? When I installed intellij before on Windows the scala package came with basically everything I needed, and I used the jdk windows installer.



answered 2 years ago KiranM #1

I think your Intellij is missing the Scala SDK. Usually it would be picked during first time setup.

Open "Open Module Settings" of your project (by right-click), go to libraries, add an Scala SDK.

Hope it should fix your problem.

comments powered by Disqus