title: Report will not load from netbeans JasperReports
body: <p>Hello to all whom read this....</p>
  
  <p>I have been bashing my head against the wall and desk for a few days now.... I am creating a report with JasperReports in a netbeans project. I have no clue what happened but one moment it was working and the next I had 2 WARNings pop up and now the Reports window (Screen Printout) and the PDF printout will not load unless the code is ran from within the Development environment.</p>
  
  <p>Here are the warnings:
          log4j:WARN No appenders could be found for logger (net.sf.jasperreports.engine.xml.JRXmlDigesterFactory).
          log4j:WARN Please initialize the log4j system properly.</p>
  
  <p>The warnings are thrown by this line of code that I use to compile the report:</p>
  
  <p><code>JasperReport jasperReport = JasperCompileManager.compileReport("C:/Report/report1.jrxml");</code></p>
  
  <p>The whole block of code that is used for compiling and generating the report is as follows:</p>
  
  <pre><code>public void Print_File() {
      try {
          String parameter = LoadNum_Text.getText();
          String RecordPath = "C:/Report/Created/LoadSheet/";
  
          String name = RecordPath + parameter;
          String destinationFile = name + ".pdf";
  
          Map param = new HashMap();
  
          param.put("Load_Number", parameter);
  
          con = DriverManager.getConnection(host, uName, uPass);
  
          String sql = "SELECT * FROM Load_Sheet";
  
          JasperReport jasperReport = JasperCompileManager.compileReport("C:/Report/report1.jrxml");
          JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, param, con);
          JasperExportManager.exportReportToPdfFile(jasperPrint, destinationFile);//export dynamic file name
          //con.close();
          try {
              JasperViewer visor = new JasperViewer(jasperPrint, false);
              visor.setVisible(true);
          } catch (Exception e) {
              JOptionPane.showMessageDialog(null, e);
          }
      } catch (Exception e) {
          JOptionPane.showMessageDialog(null, e);
      }
  }
  </code></pre>
  
  <p>Also my previous versions of the code have the same issue now as i have tried rolling back to them and I also tried an old version of a (what used to be) working report1.jrxml file.</p>
  
  <p>I have also tried a different MYSQL server that I had running else where just as a try to see if that was a potential issue, but still had the same end result.</p>
  
  <p>I have tried just importing the libraries from IReport itself (the program i used to generate the report), but also no avail.</p>
  
  <p>I have also downloaded and tried the source for JasperReport4.5.0 as well as 3.0.1 also with even less avail...</p>
  
  <p>Any help that you could provide i would greatly appreciate it...</p>