kebaranas
kebaranas

Reputation: 319

Scene Builder not opening within IntelliJ Idea Community Edition

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][!

IntelliJ error message

Upvotes: 6

Views: 8263

Answers (3)

Bushra
Bushra

Reputation: 21

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.

Upvotes: 1

Smyhail
Smyhail

Reputation: 99

After upgrading to 2019.2 I have the same Forum JetBrains, byt o wersion 2019.1 it still works

Upvotes: 0

CrazyCoder
CrazyCoder

Reputation: 401965

It's a known issue.

As a workaround you can try switching IntelliJ IDEA runtime to version 8.

Upvotes: 7

Related Questions