我有问题要查看报告。首先,当我尝试单击“构建”中的 excel 按钮上的查看按钮时。它不会查看报告,而只是在文件夹中生成 excel 文件。其次,我可以在查看报告后获取文件 .Jasper 和 .bak 吗?
主要问题是当我想直接查看我的 Excel 报告时。错误显示:-
Exporting XLS to file (using POI)... .\senarai_cpp_4(1)_tnsparthis_pembaharuanPenangguhan.xls.
Error exporting print... Sheet name cannot be blank, greater than 31 chars, or contain any of /\*?[]
Can't find the translation for key = iReportCompiler.errorExportingPrint: using default (Error exporting print... {0} ) java.lang.IllegalArgumentException: Sheet name cannot be blank, greater than 31 chars, or contain any of /\*?[] at org.apache.poi.hssf.record.BoundSheetRecord.setSheetname(BoundSheetRecord.java:162) at org.apache.poi.hssf.model.Workbook.setSheetName(Workbook.java:464) at org.apache.poi.hssf.usermodel.HSSFWorkbook.createSheet(HSSFWorkbook.java:540) at net.sf.jasperreports.engine.export.JRXlsExporter.createSheet(JRXlsExporter.java:147) at net.sf.jasperreports.engine.export.JRXlsAbstractExporter.exportReportToStream(JRXlsAbstractExporter.java:393) at net.sf.jasperreports.engine.export.JRXlsAbstractExporter.exportReport(JRXlsAbstractExporter.java:221) at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:1329) at java.lang.Thread.run(Unknown Source)
Export running time: 1,212