JavaFX does not work with IntelliJ (jdk 9)
问题 JavaFX is not working for me using IntelliJ. While it does compile, I get an Exception when trying to launch. I've found similar issues here, none of which seemed to hold an answer to my problem. The Exception I get is the following: Exception in thread "main" java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java