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

monet123 2008-09-28 09:24:34

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)
...全文
7060 6 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
monet123 2008-09-28
  • 打赏
  • 举报
回复
[Quote=引用 5 楼 witcheryne 的回复:]
这个错误是说你的页眉,页脚,边缘不适合当前页面的高度...
[/Quote]

恩,发现了,因为当时算高度的时候,没算上title~哈哈
witcheryne 2008-09-28
  • 打赏
  • 举报
回复
这个错误是说你的页眉,页脚,边缘不适合当前页面的高度...
commanager 2008-09-28
  • 打赏
  • 举报
回复
恭喜,jf
monet123 2008-09-28
  • 打赏
  • 举报
回复
over,哈哈哈啊哈,结贴啦~~~~~~~
monet123 2008-09-28
  • 打赏
  • 举报
回复
了解的人快来~我快不行了~~

81,116

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧