Now when I try to print a report I get this error (in developer and server):
- Code: Select all
ERROR com.servoy.j2db.util.Debug - Resource not found at: ./lf_offers_prt1_header1.jasper.
Reports and subreports are in the same folder: directory.jasper.report=/Applications/Servoy.app/Contents/application_server/jasper_reports
In the report I use this code for the subreport:
- Code: Select all
<parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false">
<defaultValueExpression><![CDATA["./"]]></defaultValueExpression>
</parameter>
...
<subreportExpression class="java.lang.String"><![CDATA[$P{SUBREPORT_DIR} + "lf_offers_prt1_header1.jasper"]]></subreportExpression>
It used to work perfectly but now it fails. I've read all the docs I've found to see if there was any change in the plugins but found nothing, does anyone have an idea about why it's breaking?