无法加载存储库文件资源/reports/sinc/07.Cargue_por_entidades_obligadas_subreport1.jrxml。
我在主报告中设置了如下链接: 子报告表达式:“repo:/reports/sinc/07.Cargue_por_entidades_obligadas_subreport1.jrxml” 请给我这个问题的解决方案。
答案 0 :(得分:0)
如果您只是将子报表表达式更改为“repo:{report_name} .jrxml”,那么当您在jasper服务器网页(或jasper reports / studio ide)中上传父标记时,系统会提示您上传子报表文件
您可以在安装的docs文件夹中的Jasper Server用户指南中进行介绍。
The server detects that the report unit includes a subreport, and the subreport needs a different
expression. In iReport, subreports need this expression:
$P{SUBREPORT_DIR} + reportName.jasper
In the server, subreports need this expression:
repo : reportName expression
c. If the Subreport resource is not selected, click the checkbox to select it, then click continue to
upload the subreport and the proposed expression to the repository.