title: Unable to read file from spring boot .jar
body: <p>I want to access file on my classpath called <code>reports/invoiceSweetChoice.jasper</code> in jar on production server. Whatever I do I get null.</p>
  <p>I have tried <code>this.getClass().getResourceAsStream(&quot;reports/invoiceSweetChoice.jasper&quot;)</code>, tried via <code>InputStream</code> etc. I have printed out content of <code>System.getProperty(&quot;java.class.path&quot;)</code> and it is empty. Not sure how is that possible. Do you have any suggestion how to resolve this ?</p>