Dear Authority,
when we are working on simple Jasper Application, we are getting a following error while generating the Report. Here Pdf file is generating but not working properly.
The Error is : Exception in thread "main" java.lang.NoSuchFieldError: APPDEFAULT
at net.sf.jasperreports.engine.export.JRPdfExporter.exportReportToStream(JRPdfExporter.java:534)
at net.sf.jasperreports.engine.export.JRPdfExporter.exportReport(JRPdfExporter.java:398)
at net.sf.jasperreports.engine.JasperExportManager.exportToPdfStream(JasperExportManager.java:191)
at net.sf.jasperreports.engine.JasperExportManager.exportReportToPdfStream(JasperExportManager.java:527)
at employee_report.ReportGenerator.generateReport(ReportGenerator.java:54)
at employee_report.ReportGenerator.main(ReportGenerator.java:71);
In the above application, we have configured the following jars,
commons-beanutils-1.7.0
commons-collections-3.1
commons-digetser-1.8
commons-lang-2.1
commons-logging-1.1.1
itext-1.3.1
jasperreports-5.1.0
ojdbc14
itextpdf-5.3.0
Recommended Comments
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now