While I create a Maven multi-module project using JDK 11 when there is an error related to module exports and requires clauses IntelliJ suddenly shows this type of error.
It seems from that point onwards it becomes a Kotlin Project. I never create any Kotlin artifact.
Information:Kotlin: kotlinc-jvm 1.3.0 (JRE 11.0.1+13-LTS)
Information:12/3/2018 2:25 PM - Compilation completed with 1 error and 0 warnings in 3 s 396 ms
Error:Kotlin: The Kotlin standard library is not found in the module graph. Please ensure you have the 'requires kotlin.stdlib' clause in your module definition
My observation when this happens is this.
1. There are module-info.java errors related to exports and requires clauses.
2. There were Maven cyclic dependency errors.
But when I fix these It doesn't try to start a Kotlin JVM. Everything is back to normal.