"skipping Scala files without a Scala SDK in module(s) .." after upgrading to 2017.1
Intellij keeps saying "Warning:scala: skipping Scala files without a Scala SDK in module(s) ..." when trying to build a Scala project, after upgrading Windows Intellij Idea to 2017.1 and Scala Plugin to 2017.1.15.
The same project builds fine in the upgraded Idea (2017.1 and 2017.1.15) when run in Mac OSX.
Any help would be appreciated.
Please sign in to leave a comment.
Could you please provide an example project to reproduce the problem? Is highlighting in the Scala files in IDEA is OK?
A similar issue.
Having the same issue.
This issue pops up quite often in our mixed mode (Java+scala) gradle based muti-module project and we DO NOT use "create separate module per source set". No, I cannot give you the sample, but I have noticed that _sometimes_ switching to "Create separate module per source set" and then disabling it again restores scala sdk and it works for some number of Gradle refresh operations, but it happens again after some time. I'm using:
IntelliJ IDEA 2017.2.5
Build #IU-172.4343.14, built on September 26, 2017
JRE: 1.8.0_152-release-915-b12 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.6
and:
scala plugin Version: 2017.2.11.9
gradle plugin Version: 172.4343.14