wood burning stoves 2.0*
The moose likes Java in General and the fly likes Cannot export PDF File (Jasper reprting) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Cannot export PDF File (Jasper reprting)" Watch "Cannot export PDF File (Jasper reprting)" New topic
Author

Cannot export PDF File (Jasper reprting)

Kasun Wixkramanayake
Ranch Hand

Joined: Feb 09, 2010
Posts: 74


I used these jar files to run above code
jasperreports-4.0.2.jar
commons-digester-1.7.jar
commons-collections-3.2jar (commons-collections.jar)
commons-logging-1.0.4.jar
commons-beanutils.jar
iText-5.1.1.jar )
but i get following run time errors.



Exception in thread "main" java.lang.NoClassDefFoundError: com/lowagie/text/DocumentException
at net.sf.jasperreports.engine.JasperExportManager.exportReportToPdfFile(JasperExportManager.java:117)
at javaapplication14.Main.add(Main.java:48)
at javaapplication14.Main.main(Main.java:37)
Java Result: 1
Arun Chidam
Ranch Hand

Joined: May 08, 2006
Posts: 79
use itext-2.1.7.jar


SCJP 1.4, SCWCD 1.4
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19651
    
  18

Moving to Java in General since this isn't a GUI related problem.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cannot export PDF File (Jasper reprting)
 
Similar Threads
cannot pass to value to a jasper parameter
problem in developing jasper report in BEA workspace studio version 1.1 with weblogic server 10.0
jasper report to PDF
NetBeans:JasperReport --> Exception
Jasper Report Issue