JasperReports: Can't locate subreport

后端 未结 4 419
轮回少年
轮回少年 2020-12-04 02:10

It\'s drives me crazy.. Last hour I am trying to figure out why my report stopped to worked right after I added a subreport to it.. I already checked and tried all similar

4条回答
  •  攒了一身酷
    2020-12-04 03:01

    try to send SUBREPORT_DIR parameter from code. Maybe it is missing... if you use maven, check resource directory tag in pom.xml and compare them.

    params.put("SUBREPORT_DIR", "reports/report/blablaFolder/");
    

提交回复
热议问题