JavaFX 11: IllegalAccessError when creating Label

前端 未结 3 1296
南方客
南方客 2020-11-22 05:41

This question is likely about the same issue as this one, but it appears the asker of that one hasn\'t added enough information to receive a helpful response.

I am t

3条回答
  •  难免孤独
    2020-11-22 06:19

    I would use gradle and the javafx plugin for that.

    apply plugin: "org.openjfx.javafxplugin"
    
    javafx {
        version = "11"
        modules = ["javafx.base", "javafx.controls", "javafx.graphics"
    }
    

提交回复
热议问题