at net.sf.jasperreports.engine.JRPropertiesMap.readObject(JRPropertiesMap.java:185)After look around for a while, it seems the grails plugin jasper report library version is too old, and it somehow does not work under this version of Grails.
After update to the latest version of jasperReport and iText
iText-2.1.4.jar
jasperreports-3.1.3.jar
and put it into plugins/japser-0.9/lib, now I can generate the PDF file.
And if you are using the latest iReport, you also need pay attention to the xml format of .jrxml. Please follow the example .jrxml to generated your .jasper file.
No comments:
Post a Comment