I am trying to use a fxml file that I created in my program. In the start method I have the following lines to initilize a scene with a root node, java FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("/me/johannesk/postea/core/test.fxml")); Scene scene = new Scene(fxmlLoader.load(), 320, 240); . I am gertting the following error, java Caused by: java.lang.IllegalStateException: Location is not set. ```` which is caused by the method call fxmlLoader.load(). I assume this is becuase the file location is incorrect. I have tried the URLs to fix the issues, none worked,
/test.fxml
test.fxml
/me/johannesk/postea/core/test.fxml