title: JavaFX executable JAR runs into problems with loading FXML file, why isn't the FXML being loaded?
body: <p>Here is the exception output below. I think the program is failing to retrieve the FXML file "home.FXML"; it's failing at this line: </p>
  
  <pre><code>Parent root = FXMLLoader.load(getClass().getResource("/fxml/home.fxml"));
  </code></pre>
  
  <p>This is the rest of the class that loads the FXML.</p>
  
  <pre><code>public class Boorus extends Application{
  
  public static void main(String[] args){
      launch(args);
  }
  
  public void start(Stage primaryStage) throws Exception{
  
      SQLboss.makeTables();
      Parent root = FXMLLoader.load(getClass().getResource("/fxml/home.fxml"));
      Scene scene = new Scene(root);
  
      primaryStage.setScene(scene);
      primaryStage.setTitle("Boorus");
      primaryStage.show();
  
  
  }
  }
  </code></pre>
  
  <p>My project structure looks as pictured:</p>
  
  <p><img src="https://i.stack.imgur.com/dtQg5.jpg" alt="enter image description here"></p>
  
  <p>Pastebinned the Exception here: <a href="http://pastebin.com/rWkRuury" rel="nofollow noreferrer">http://pastebin.com/rWkRuury</a></p>