各位大侠:
今天我是第一次接触jor报表工具,在设计套打模板时,我绑定了数据源,根据提供的套打模板制作自己的报表,但和文本框时,变量值设为$.数据库字段名,预览时无法显示,后台变报如下错误,还请大侠们指点,谢谢!
错误信息:
select * from um_user
bsh.InterpreterError: lastEvalName = ID
at bsh.Name.completeRound(Name.java:212)
at bsh.Name.consumeNextObjectField(Name.java:460)
at bsh.Name.toObject(Name.java:199)
at bsh.NameSpace.get(NameSpace.java:180)
at bsh.Interpreter.get(Interpreter.java:1135)
at jatools.engine.script.ReportContext.get(ReportContext.java:390)
at jatools.engine.printer.TextPrinter.getText(TextPrinter.java:65)
at jatools.engine.printer.LabelPrinter.print(LabelPrinter.java:113)
at jatools.engine.printer.TextPrinter.print(TextPrinter.java:43)
at jatools.engine.printer.AbstractContainerPrinter.printChildren(Abstrac
tContainerPrinter.java:150)
at jatools.engine.printer.AbstractContainerPrinter.next(AbstractContaine
rPrinter.java:298)
at jatools.engine.printer.AbstractContainerPrinter.print(AbstractContain
erPrinter.java:233)
at jatools.engine.printer.AbstractContainerPrinter.printChildren(Abstrac
tContainerPrinter.java:150)
at jatools.engine.printer.AbstractContainerPrinter.next(AbstractContaine
rPrinter.java:298)
at jatools.engine.printer.AbstractContainerPrinter.print(AbstractContain
erPrinter.java:233)
at jatools.engine.printer.ReportPrinter.print(ReportPrinter.java:271)
at jatools.designer.ReportPreviewer$1.run(ReportPreviewer.java:213) 作者: wunaia 时间: 2011-12-9 11:27