问答详情
源自:4-1 创建JavaFX工程

打开Scene Builder 异常

java.lang.ClassNotFoundException: com.sun.javafx.fxml.LoadListener PluginClassLoader[org.jetbrains.plugins.javaFX, 192.5728.98] com.intellij.ide.plugins.cl.PluginClassLoader@354b9340
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]

提问者:qq_慕工程6329333 2019-08-07 09:53

个回答

  • admxj
    2019-08-13 22:31:18

    idea默认启动的jdk不对,修改一下就好了

    https://img.mukewang.com/5d52c99f000141aa27520682.jpghttps://img.mukewang.com/5d52c99f0001cc3114800530.jpg

    https://img1.mukewang.com/5d52c99f000120a810880408.jpg