Wednesday, April 1, 2009

java.lang.NoSuchMethodError: com.lowagie.text.Image.getPlainWidth()F

java.lang.NoSuchMethodError: com.lowagie.text.Image.getPlainWidth()F

at net.sf.jasperreports.engine.export.JRPdfExporter.exportImage(JRPdfExporter.java:1219)

at net.sf.jasperreports.engine.export.JRPdfExporter.exportElements(JRPdfExporter.java:675)

at net.sf.jasperreports.engine.export.JRPdfExporter.exportPage(JRPdfExporter.java:641)

at net.sf.jasperreports.engine.export.JRPdfExporter.exportReportToStream(JRPdfExporter.java:536)

at net.sf.jasperreports.engine.export.JRPdfExporter.exportReport(JRPdfExporter.java:323)


I have changed the jasperreports version to 3.5.0 and itext version from 1.3.1 to 2.1.4 then problem resolved.:)

1 comment:

Mukesh Sharma said...

can you tell me what was the version of jasperreports previously?