title: Unable to Call jasper report from Jar file
body: <p>I am using the following code to call a jasper report</p>
  
  <pre><code>  String reportSource = "/report.jrxml";
  
  
              InputStream is = getClass().getResourceAsStream(reportSource);
              JasperReport jasperReport = (JasperReport) JasperCompileManager.compileReport(is);
              JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, null, conn);
              JasperViewer.viewReport(jasperPrint);
  </code></pre>
  
  <p>Code is working fine when i run it in netbeans ide. but when i build the application and create the jar and run it , i am not getting report popup. </p>