intellij scene builder error not opening fxml file 解决了

intellij scene builder error not opening fxml file solved

我已经从 gloun 下载了最新的场景生成器,并且我的项目设置正确。然而,当我试图打开我的 fxml 文件时,我遇到了这个错误

java.lang.ClassNotFoundException: com.sun.javafx.fxml.LoadListener PluginClassLoader[org.jetbrains.plugins.javaFX, 192.6817.30] com.intellij.ide.plugins.cl.PluginClassLoader@15d517ae

java.lang.NoClassDefFoundError: com/sun/javafx/fxml/LoadListener

com.intellij.diagnostic.PluginException: While loading class com.oracle.javafx.scenebuilder.kit.fxom.FXOMLoader: com/sun/javafx/fxml/LoadListener [Plugin: org.jetbrains.plugins.javaFX]

//编辑:我安装了选择运行时插件,并且运行 jdk 1.8

如此处所述Scene Builder does not work anymore after update to 2019.2 version,Scene Builder 无法与新版本的 Intellij IDEA 一起正常工作。请将您的 Scene Builder 用作独立应用程序。