在模块java.base和模块jrt.fs中打包jdk.internal.jrtfs

在模块java.base和模块jrt.fs中打包jdk.internal.jrtfs,java,Java,私有JFrame /** * Launch the application. */ public static void main(String[] args) { EventQueue.invokeLater(new Runnable() { public void run() { try { GUI window = new GUI(); window.frame.setVis

私有JFrame

/**
 * Launch the application.
 */
public static void main(String[] args) {
    EventQueue.invokeLater(new Runnable() {
        public void run() {
            try {
                GUI window = new GUI();
                window.frame.setVisible(true);
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
    });
}

/**
 * Create the application.
 */
public GUI() {
    initialize();
}

/**
 * Initialize the contents of the frame.
 */
private void initialize() {
    frame = new JFrame();
    frame.setBounds(100, 100, 450, 300);
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}
控制台:

启动层初始化期间出错 java.lang.layerInstationException:在模块jrt.fs和模块java.base中打包jdk.internal.jrtfs

我试图使用windowbuilder在Eclipse上创建GUI,但每次都遇到相同的错误,无法启动类来创建JFrame