When I use this code locally :
I can build and compile
I cannot Run, because I've got this error :
I'd like to understand why all the dependencies are in my maven project and the path to the JDK is ok.
Thanks @SLaw
, it's my fault, I found the error with mvn javafx:run -X
, the maven compiler plugin of mainClass in the build, was not the right one.