Exception in Application start method java.lang.reflect.InvocationTargetException

前端 未结 10 1856
刺人心
刺人心 2021-01-02 18:47

I am just starting out with JavaFX, and I am trying to build a simple application with a label, text field and button which, when clicked, sets the label\'s value to that of

10条回答
  •  滥情空心
    2021-01-02 19:25

    Another cause might be missing VM options:

    --module-path /javafx-sdk-11.0.2/lib 
    --add-modules=javafx.controls,javafx.fxml
    

提交回复
热议问题