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
Even in 2019.1.3 that error is there .
A solution that always works for me is :
Build menu => Rebuild Project
Tested with JDK 12.0.1
That should be fixed though by IntelliJ team as soon as possible as more and more Java projects are passing to JDK 11 ++