[ https://issues.apache.org/jira/browse/NETBEANS-4189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17086639#comment-17086639 ]
Tim Hofheins commented on NETBEANS-4189: ---------------------------------------- I see what you are saying. Try doing these steps on your computer. I have attached my primary.fxml file. You can either copy it to the your com.mycompany.<your project name> folder or cut and paste the contents to your primary.fxml file after you create your project. [^primary.fxml] # Download Scenebuilder # Register it in Netbeans # From File menu choose New Project # Pick Java With Maven # Pick FXML JavaFX Maven Archetype (Gluon) # Press Next # Type in project name # Press Finish # Point to and expand the project you created # Expand Other Sources # Expand src/main/resources. # Expand com.mycompany.<your project name> # Right click on primary.fxml and choose Open. # It gives you the error window. Let me know if you need me to be more clear. I appreciate your help. > When I try to run Scenebuilder I get this error "java.io.IOException: > javafx.fxml.LoadException" > ------------------------------------------------------------------------------------------------ > > Key: NETBEANS-4189 > URL: https://issues.apache.org/jira/browse/NETBEANS-4189 > Project: NetBeans > Issue Type: Bug > Environment: Windows 10, HP desktop computer w/ 8Gig of ram, AMD > processor > Reporter: Tim Hofheins > Priority: Major > Attachments: primary.fxml > > > I am writing a JavaFX application. When I try to open Scenebuilder by right > clicking my fxml file and choosing Open I get the above error. The > Scenebuilder error log says "Caused by: java.lang.IllegalArgumentException: > Invalid URL: Invalid URL or resource not found" This is the Imageview entry > in my fxml file: <Image url="Consumer.jpg" /> > I am running Netbeans 12.0 beta 2 with Maven. I received the beta version > from you guys because of other errors I was getting with Netbeans 11.3. I put > the jpg file in the resources folder. I can run the app with no problems. > It's just when I try to bring up Scenebuilder. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists