I have created a new (Control) Class that extends of BorderPane. This class loads an FXML in the constructor.
In another fxml, I am using this Control this way . It works perfectly, however, as soon as I try to move MyController.fxml (and its class that extends BorderPane) in another package, I get a ClassNotFoundException even if I did correct the imports/includes.
Thanks
Edit :
Here is a screenshot for more details. As soon as I move TowerUI into the UI package, I get the exception (that you can also see on the screenshot)
URL: https://i.stack.imgur.com/LYWGn.png
Edit 2 :
TowerUI.java : http://pastebin.com/MCuxEJVE