Ota_Jun Posted July 17, 2013 Share Posted July 17, 2013 Hi, everyoneI don't know this is wrong or not.I have a main report (iReport 3.7.6, Win7-32bit) in this directory:c:mainmain.jrxmland subreport is in:c:subreportsub.jrxmlmain report refers subreport by configuration of "Subreport Expression" its value is "../subreport/sub.jasper".i can see preview main report, but error(warning?) occured.Unable to locate the subreport with expression: "$P{SUBREPORT_DIR} + "sub.jasper"". java.lang.Exception: ../subreport/sub.jrxml not found. at com.jaspersoft.ireport.designer.utils.Misc.locateFileFromExpression(Misc.java:1373) at com.jaspersoft.ireport.designer.compiler.IReportCompiler.compileSubreports(IReportCompiler.java:1403) at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:508) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997) please tell me how to delete error message.( i want to use relative path for subreport)------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------i have resolved this problem.according to ireport ultimate guide, we can't use relative path for subreport.so, it mast set absolute path or set only report name and put subreport into main report directory.thank you------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Link to comment Share on other sites More sharing options...
dannyrevera Posted February 7, 2015 Share Posted February 7, 2015 In the corporate world, many official documents are sent to the business associates, taxation department, suppliers or client in the form of PDF files. Therefore, the majority of people working in the business offices find it necessary to install PDF conversion enterprise software on their computer systems, so that it helps converting the MS Word and MS Excel, or JEPG files into PDF before attaching them with the email. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now