iReport4.5.1添加表格的时候报错Field not found,怎么解决啊?
iReport报错如下: Compilingtofile...C:\DocumentsandSettings\Administrator\桌面\javabean...
iReport 报错如下:
Compiling to file... C:\Documents and Settings\Administrator\桌面\javabeanTest.jasper
net.sf.jasperreports.engine.design.JRValidationException: Report design not valid : 1. Field not found : loginPassword 2. Field not found : question 3. Field not found : answer 4. Field not found : userName 5. Field not found : id at net.sf.jasperreports.engine.design.JRAbstractCompiler.verifyDesign(JRAbstractCompiler.java:258) at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:140) at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:212) at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:128) at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:516) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
②另外,这个iReport 怎么设计出比较漂亮的报表啊,我自己设计的很难看呢,有没技巧呢,或者你们用的比较好的模板呢?
③还有就是和Struts2 集成的时候,虽然生成了html、pdf、excel文档,但是打印是个问题啊,不想直接到这些文档中打印呢。 展开
Compiling to file... C:\Documents and Settings\Administrator\桌面\javabeanTest.jasper
net.sf.jasperreports.engine.design.JRValidationException: Report design not valid : 1. Field not found : loginPassword 2. Field not found : question 3. Field not found : answer 4. Field not found : userName 5. Field not found : id at net.sf.jasperreports.engine.design.JRAbstractCompiler.verifyDesign(JRAbstractCompiler.java:258) at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:140) at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:212) at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:128) at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:516) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
②另外,这个iReport 怎么设计出比较漂亮的报表啊,我自己设计的很难看呢,有没技巧呢,或者你们用的比较好的模板呢?
③还有就是和Struts2 集成的时候,虽然生成了html、pdf、excel文档,但是打印是个问题啊,不想直接到这些文档中打印呢。 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询