0
我已經通過替換新的查詢sql來編輯來自舊模板的查詢。報告設計無效錯誤消息
錯誤消息當屬:
Compiling to file... C:\ECLIPSE\workspace\EIS-HR\Web-inf\hradmin\HR_EIS1.jasper
Active top component: null C:\ECLIPSE\workspace\EIS-HR\Web-inf\hradmin\HR_EIS1.jrxml
net.sf.jasperreports.engine.design.JRValidationException: Report design not valid :
1. Field not found : DM_DEPT_DESC 2. Field not found : SM_GENDER
at net.sf.jasperreports.engine.design.JRAbstractCompiler.verifyDesign(JRAbstractCompiler.java:271)
at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:153)
at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:512)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Compilation running time: 231
現場沒有發現,哪裏是錯我的XML文件。