IllegalAccessError while using FXMLLoader

前端 未结 1 1400
谎友^
谎友^ 2021-01-28 11:31

I am trying to load an FXML file into my javafx application as my root widget, I am using windows 8.1 with java 11.04 and javafx-sdk 13 with the Eclipse 2019 IDE. I searched a l

相关标签:
1条回答
  • 2021-01-28 12:12

    since Java 11 you need to add

    --module-path C:[your path to]\javafx-sdk-13\lib --add-modules javafx.controls,javafx.fxml

    to the run arguments of the project run configuration

    0 讨论(0)
提交回复
热议问题