question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Controls not recognized in Scene Builder 2.0

See original GitHub issue

Hello,

I want to use the RichTextFX in Scene Build, but they are not recognized. why?

unbenannt

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 unbenannt2

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:1
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

6reactions
TomasMikulacommented, Nov 23, 2015

Closing as this is not a RichTextFX problem.

1reaction
Neiko2002commented, May 24, 2022

The new far jar works fine in SceneBuilder. Thank you very much.

Read more comments on GitHub >

github_iconTop Results From Across the Web

JavaFx SceneBuilder 2.0 not resolving custom controls
My issue is that the custom control does not render in Scene Builder. SElecting it in the hiearchy tree, it indicates "Selection contains ......
Read more >
Custom ComboBox implementation not recognized by Scene ...
Seems Scene builder cannot recognize the dependency to the orignial Label class. So in my case i would have to duplicate the code...
Read more >
How to set the controller to FXML file in Scene Builder?
From the advent of Scene Builder V 2.0, you can assign your FXML controller either manually inside the FXML file or through the...
Read more >
Scene Builder - Gluon
Integrated. Scene Builder works with the JavaFX ecosystem – official controls, community projects, and Gluon offerings including Gluon Mobile, Gluon Desktop, ...
Read more >
Setting Up SceneBuilder In Eclipse in 2020 - YouTube
Scene Builder Tutorial in Eclipse | JavaFX and SceneBuilder Tutorial.Welcome everyone, today I am going to show you how to set up The...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found