I have an IntelliJ project composing several subprojects which are all Java 9 modules. I use Maven as a build system. My project has no \"Facets\". My run configuration look
Meanwhile, this can be fixed using the kotlin-stdlib.jar
available in Kotlin JavaRuntime:
module kotlin.test {
requires kotlin.stdlib;
}
where kotlin.test
should be replaced with your module name.
Just in case the details matter, I am using
IntelliJ IDEA 2018.3 (Community Edition) Build #IC-183.4284.148, built on November 21, 2018
and the Kotlin JavaRunTime mentioned above has sources from the path Contents/plugins/Kotlin/kotlinc/lib
within the IntelliJ .app
which includes kotlin-stdlib.jar
as one of them.
i had the same problem i deleted the file and start all over again, and its work fine after it