I am trying to open an FXML file using Scene Builder that is within IntelliJ. However, I get an error message despite that I can open the FXML file with Scene Builder alone.
The display only shows this error message
java.lang.ClassNotFoundException: com.sun.javafx.fxml.LoadListener PluginClassLoader[org.jetbrains.plugins.javaFX, 192.5728.98] com.intellij.ide.plugins.cl.PluginClassLoader@7db2b6a4
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][!
Download and install the latest version of Scene Builder. In the Settings/Preferences dialog ( Ctrl+Alt+S ), select Languages & Frameworks | JavaFX. in the Path to SceneBuilder field. In the dialog that opens, select the Scene Builder application (executable file) on your computer and click OK.
By default, the JavaFXJavaFXJavaFX is a set of graphics and media packages that enables developers to design, create, test, debug, and deploy rich client applications that operate consistently across diverse platforms.https://docs.oracle.com › javafx › overview › jfxpub-overviewWhat Is JavaFX? | JavaFX 2 Tutorials and Documentation Scene Builder software is installed at C:\Program Files\Oracle\JavaFX Scene Builder 1.0 on a Windows platform. If you install a 32-bit version of the JavaFX Scene Builder on a 64-bit Windows machine, the default installation location is C:\Program Files (x86)\Oracle\JavaFX Scene Builder 1.0.
It's a known issue.
As a workaround you can try switching IntelliJ IDEA runtime to version 8.
Hey I have found a solution. Just install scenebuilder and open the scenebuilder app. Then open your project .fxml file. Now when u save your work in scenebuilder app, the changes will be saved to your project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With