Maven project with JavaFX does not seem to compile in InteliJ, however mvn compile works. The target in maven is 1.8, JDK for the project is JDK10 and JRE in Running config is JRE10. (everything 10.0.2 version). All classes which are missing are present in JDK10. Do you have some hint how to fix this?
IntelliJ IDEA 2018.2 (Ultimate Edition)
Build #IU-182.3684.101, built on July 24, 2018
JRE: 1.8.0_152-release-1248-b8 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
The "missing" classes are not underlined in the code, so in the IDE seems to be everything ok... except for compiling.