From a new project, using Scala ("Simple module with attached Scala SDK"), project Java SDK version 1.8.0_112, Scala SDK 2.12, I get the following error when trying to compile a simple hello world application:
"Error:Module 'scala_sdk' production: java.lang.RuntimeException: Unknown build target output directory: /mnt/hdd/School/2016-2017/Project/repositories/scala_sdk/out/production/scala_sdk"
The same happens when I try a Java project with Scala as additional library/framework. Also happened in an existing Maven Java project.
How do I fix this?
IntelliJ IDEA 2016.3
Build #IU-163.7743.44, built on November 17, 2016
JRE: 1.8.0_112-b15 amd64
JVM: OpenJDK 64-Bit Server VM by Oracle Corporation
Scala plugin: 2016.3.3