Controls not recognized in Scene Builder 2.0
See original GitHub issueHello,
I want to use the RichTextFX in Scene Build, but they are not recognized. why?
And when I used a StyleClassedTextArea in Intellij I got the following error:
java.io.IOException: javafx.fxml.LoadException: /E:/B5807012_TP01528/all/java/zisupdate/src/java/resources/zisupdate.fxml
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMLoader.load(FXOMLoader.java:92)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMDocument.<init>(FXOMDocument.java:80)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMDocument.<init>(FXOMDocument.java:95)
at com.oracle.javafx.scenebuilder.kit.editor.EditorController.updateFxomDocument(EditorController.java:2370)
at com.oracle.javafx.scenebuilder.kit.editor.EditorController.setFxmlTextAndLocation(EditorController.java:655)
at org.jetbrains.plugins.javaFX.sceneBuilder.SceneBuilderImpl.loadFile(SceneBuilderImpl.java:137)
at org.jetbrains.plugins.javaFX.sceneBuilder.SceneBuilderImpl.create(SceneBuilderImpl.java:59)
at org.jetbrains.plugins.javaFX.sceneBuilder.SceneBuilderImpl.access$000(SceneBuilderImpl.java:28)
at org.jetbrains.plugins.javaFX.sceneBuilder.SceneBuilderImpl$1.run(SceneBuilderImpl.java:47)
at com.sun.javafx.application.PlatformImpl.lambda$null$170(PlatformImpl.java:295)
at com.sun.javafx.application.PlatformImpl$$Lambda$75/3956551.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$171(PlatformImpl.java:294)
at com.sun.javafx.application.PlatformImpl$$Lambda$74/25598835.run(Unknown Source)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$145(WinApplication.java:101)
at com.sun.glass.ui.win.WinApplication$$Lambda$63/30911611.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
Caused by: javafx.fxml.LoadException: /E:/B5807012_TP01528/all/java/zisupdate/src/java/resources/zisupdate.fxml
at javafx.fxml.FXMLLoader.constructLoadException(FXMLLoader.java:2605)
at javafx.fxml.FXMLLoader.importClass(FXMLLoader.java:2852)
at javafx.fxml.FXMLLoader.processImport(FXMLLoader.java:2696)
at javafx.fxml.FXMLLoader.processProcessingInstruction(FXMLLoader.java:2665)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2521)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2429)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMLoader.load(FXOMLoader.java:89)
... 18 more
Caused by: java.lang.ClassNotFoundException: org.fxmisc.richtext.StyleClassedTextArea at java.lang.ClassLoader.findClass(ClassLoader.java:530) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at javafx.fxml.FXMLLoader.loadTypeForPackage(FXMLLoader.java:2920) at javafx.fxml.FXMLLoader.loadType(FXMLLoader.java:2909) at javafx.fxml.FXMLLoader.importClass(FXMLLoader.java:2850) … 23 more
Issue Analytics
- State:
- Created 8 years ago
- Reactions:1
- Comments:7 (2 by maintainers)
Top GitHub Comments
Closing as this is not a RichTextFX problem.
The new far jar works fine in SceneBuilder. Thank you very much.