erika.chinchio Posted February 14, 2022 Share Posted February 14, 2022 I try to install new version of jasper server community 8.0 , but when I call the reports via api there is exception java.lang.IllegalArgumentException: contextPath needs to be an absolute pathI call my subreports from main report with absoulute path (c:....) express in param PathSubReports (ex <subreportExpression><![CDATA[$P{PathSubReports}.concat("subdetails.jasper")]]></subreportExpression>)with the new version of jasper I am forced to use the overwrite for the subreports otherwise an error is generated.However, if a subreport calls another subreport also publishing with overwrite, the exception is generated. this error was not present in the previous version and the error is present only with the call via api not with unit test in jaspe servercan someone help me please? 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