Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


jasperreports cant locate subreport


jasperreports cant locate subreport  using -'java,spring,jasper-reports,ireport'

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 issues here, here and here.
Without success..  Subreport is in the same directory for sure..
The definition looks like:

<subreport isUsingCache="false">
                <reportElement uuid="db816b3c-a13d-440f-a6a2-f899762e61e4" x="0" y="89" width="555" height="100"/>
                <subreportParameter name="footerAddress">
                    <subreportParameterExpression><![CDATA[$P{footerAddress}]]></subreportParameterExpression>
                </subreportParameter>
                <subreportParameter name="footerManager">
                    <subreportParameterExpression><![CDATA[$P{footerManager}]]></subreportParameterExpression>
                </subreportParameter>
                <subreportParameter name="footerContact">
                    <subreportParameterExpression><![CDATA[$P{footerContact}]]></subreportParameterExpression>
                </subreportParameter>
                <subreportParameter name="footerBank">
                    <subreportParameterExpression><![CDATA[$P{footerBank}]]></subreportParameterExpression>
                </subreportParameter>
                <subreportExpression class="net.sf.jasperreports.engine.JasperReport"><![CDATA[$P{SUBREPORT_DIR}]]></subreportExpression>
            </subreport>


Where $P{SUBREPORT_DIR} is "/valid/path/sub.report.jasper"

And I still getting an error: Resource not found at /valid/path/sub.report.jasper

WHY??
    

asked Sep 14, 2015 by RayY36myreyj
0 votes
20 views



Related Hot Questions



Walkin Jobs Opening



Government Jobs Opening


...