Jump to content
We've recently updated our Privacy Statement, available here ×
  • Getting error 'contextPath needs to be an absolute path'


    Sarthak Chaudhary
    • Features: Reports Version: v8 Product: Jaspersoft® Studio

    Error Description: 

    While running a studio report that contains a sub-report and a logo in the subreport. When this report is published to JasperServer and run we get an error - 

     'contextPath needs to be an absolute path'

    Solution: 

    One possible reason for this error is, that the standard setup is to keep report resources like subreports and images in the JRS repository and not on the server filesystem. So when resources are kept in the FileSystem and not the repository this error is seen. 

    To resolve this, we would need to add the subreport in the repository instead of the file system. 


    User Feedback

    Recommended Comments

    There are no comments to display.



    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 account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...