Jump to content
Changes to the Jaspersoft community edition download ×

Repository file resource could not be loaded


ahmy_1
Go to solution Solved by joseng62,

Recommended Posts

Hi, guys I'm trying to upload main report with a subreport to a jasper server. There is an image in my subreport and i have renamed it as "repo: SS-PU.jpg" also the subreport is named the same way:

"repo: subreport.jrxml" . But i get this error 

Repository file resource /reports/PeU_test/ExamProtocol_blank31_files/SS-PU.jpg could not be loaded

If i try to upload the subreport without an image there is no problem it works but i need the picture to be inside the subreport ...
In short can some one tell me how to upload a subreport to a main report with an image inside the subreport. 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution

Well first of all I know jasper is sensitive to using "-" in any resource. Rather use "_".

Do you load the sub report onto jasper as a resource and then when you load your main reports you point to your subreport? 
If you do load you're subreport onto repo then do you load the image as a resource as well. 
Can you test the subreport seperatly in jasperserver to see if you have a path issues or incorrect load of resource onto jaspeserver? 

If repo: does not work try the direct to resource first to test and see if same issue persist. 

Link to comment
Share on other sites

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...