|
|
|
Re: ClassNotFoundException when loading Controller via FXML [message #1112999 is a reply to message #1099826] |
Fri, 20 September 2013 13:51 |
Mar Ifla Messages: 22 Registered: September 2013 |
Junior Member |
|
|
I'm having a similar problem trying to run a JavaFX OSGi application.
My controller class my.fx.test.app.MyNodeController loads its fxml located in layout/MyNode.fxml just fine.
But when I include another custom node object named my.fx.test.app.MyButton (extending Button) into MyNode.fxml, I get a ClassNotFoundException for my.fx.test.app.MyButton.
I'm usingFXMLLoader fxmlLoader = new FXMLLoader(getClass().getClassLoader().getResource("layout/MyNode.fxml")); to instantiate the loader.
Any idea what's wrong?
[Updated on: Sun, 22 September 2013 07:46] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02762 seconds