读书人

Report design not valid : The detai

发布时间: 2012-01-31 21:28:41 作者: rapoo

Report design not valid : The detail section, the page and column headers and footers and the margins do not fit the page height

net.sf.jasperreports.engine.design.JRValidationException: Report design not valid :
1. The detail section, the page and column headers and footers and the margins do not fit the page height.
at net.sf.jasperreports.engine.design.JRAbstractCompiler.verifyDesign(JRAbstractCompiler.java:260)
at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:144)
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:219)
at com.expayment.maipiao.service.impl.PrintBillServiceImpl.commonPrintPDF(PrintBillServiceImpl.java:612)
at com.expayment.maipiao.service.impl.PrintBillServiceImpl.printBill(PrintBillServiceImpl.java:540)
at com.expayment.maipiao.service.impl.PrintBillServiceImpl.printBill(PrintBillServiceImpl.java:191)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)

[解决办法]
这个错误是说你的页眉,页脚,边缘不适合当前页面的高度...

读书人网 >Java Web开发

热点推荐