title: Can't find resource file after exporting to a runnable JAR
body: <p>I have a project structure that looks like this:</p>
  
  <pre><code>Tester  
  \-- src  
      |-- hello.java  
      \-- vocabulary.csv
  </code></pre>
  
  <p>I load the csv file using getResource:</p>
  
  <pre><code>url = this.getClass().getResource("vocabulary.csv");
  System.out.println(url.getPath());
  new FileReader(url.getPath());
  </code></pre>
  
  <p>The program works completly fine until I export the project to a runnable jar file. Even though the URL is still valid (he prints the path instead of null) the console shows this:</p>
  
  <pre><code>jar:file:/home/malte/Desktop/vocs.jar!/main/vocabulary.csv
  Exception in thread "main" java.io.FileNotFoundException: file:/home/malte/Desktop/vocs.jar!/main/vocabulary.csv (No such file or directory)
  </code></pre>
  
  <p>Can you explain me why this happens and how I can solv the issue?</p>
  
  <p>P.S. I am using Xtend instead of pure Java</p>