title: NoClassDefFoundError while export to pdf
body: <p>I am facing error at the time of export jasper report into pdf. That shows NoClassDefFoundError. I tried somany things like added recent itextPdf jar and itext jar. Then i moved those file into ext sub folder of lib. but, i have no luck can any one tell me, what was the problem?</p>
  
  <p>This is my code:</p>
  
  <pre><code>JasperPrint jprint = (JasperPrint) JasperFillManager.fillReport(jasperFileName, param, conn);
          JasperExportManager.exportReportToPdfFile(jprint, pdfFileName); //exportReportToPdf(jprint);
          JasperViewer.viewReport(jprint);
  </code></pre>
  
  <p>Here my Problem:</p>
  
  <pre><code>Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com/lowagie/text/DocumentException
  </code></pre>