This error prevents me from running the project.
Here are versions info :
~ ❯❯❯ java -version
java version \"1.8.0_45\"
Java(TM) SE Runtime Environment (
This question puts me on the way
so I check the JDK version and surprisingly IntelliJ and Nailgun didn't run with the same JDK.
~ ❯❯❯ ps -ef | grep java
501 2290 2017 0 4:12PM ?? 0:01.81 /Library/Java/JavaVirtualMachines/jdk1.8.0_11.jdk/Contents/Home/bin/java … org.jetbrains.plugins.scala.nailgun.NailgunRunner 3200 6a73f540-1a80-476d-96d2-83ab8faaad95
501 2291 2017 0 4:12PM ?? 0:02.15 /Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home/bin/java …
So I searched in the IntelliJ preferences and found out that Scala Compile Server was configured with an old JDK : 1.8.0_11. Bim !
I've just unchecked the checkbox Use external compile server