请教iReport的使用

[复制链接]
查看11 | 回复1 | 2004-9-8 08:47:00 | 显示全部楼层 |阅读模式
我用iReport生成一个静态报表,编译的时候总是出现错误,各位大侠帮我看看,怎么回事?
在线着急等待!
回复

使用道具 举报

千问 | 2004-9-8 08:47:00 | 显示全部楼层
Errors compiling C:\Documents and Settings\yanghx\桌面\test.jasper!dori.jasper.engine.JRException: Report design not valid :
1. The columns and the margins do not fit the page width.
2. The background section and the margins do not fit the page height.
3. The title section, the page and column headers and footers and the margins do not fit the page height.
4. The page and column headers and footers and the margins do not fit the page height.
5. The summary section and the margins do not fit the page height.
6. The detail section, the page and column headers and footers and the margins do not fit the page height.
at dori.jasper.engine.design.JRAbstractJavaCompiler.compileReport(JRAbstractJavaCompiler.java:110)
at dori.jasper.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:136)
at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:135)
at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:123)
at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:139)
at java.lang.Thread.run(Thread.java:534)Compilation running time : 391Error filling print... java.io.FileNotFoundException: C:\Documents and Settings\yanghx\桌面\test.jasper
at dori.jasper.engine.util.JRLoader.loadObject(JRLoader.java:124)
at dori.jasper.engine.JasperFillManager.fillReport(JasperFillManager.java:288)
at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:187)
at java.lang.Thread.run(Thread.java:534)NESTED BY : java.io.FileNotFoundException: C:\Documents and Settings\yanghx\桌面\test.jasper
at dori.jasper.engine.util.JRLoader.loadObject(JRLoader.java:124)
at dori.jasper.engine.JasperFillManager.fillReport(JasperFillManager.java:288)
at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:187)
at java.lang.Thread.run(Thread.java:534)NESTED BY : dori.jasper.engine.JRException: C:\Documents and Settings\yanghx\桌面\test.jasper
at dori.jasper.engine.util.JRLoader.loadObject(JRLoader.java:124)
at dori.jasper.engine.JasperFillManager.fillReport(JasperFillManager.java:288)
at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:187)
at java.lang.Thread.run(Thread.java:534) Caused by: java.io.FileNotFoundException: C:\Documents and Settings\yanghx\桌面\test.jasper
... 4 more Print not filled. Try to use an EmptyDataSource...!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行