我为module-info.java添加了必需的内容,最终让我的程序得以加载,但是一旦JFoenix库中的选项卡面板要加载时,就会抛出这个错误。
Caused by: java.lang.IllegalAccessError: class com.jfoenix.skins.JFXTabPaneSkin (in module com.jfoenix) cannot access class com.sun.javafx.scene.control.behavior.TabPaneBehavior (in module javafx.controls) because module javafx.controls does not export com.sun.javafx.scene.control.behavior to module com.jfoenix