Jump to content
We've recently updated our Privacy Statement, available here ×

JasperServer Error, resource not found at: subreport


HWilliamRS
Go to solution Solved by HWilliamRS,

Recommended Posts

Hello people,

I’m having this problem, happens that I created a Report with Jasper Studio with also several sub reports.

Everything is working fine when I’m in Jasper Studio, but once I try to deploy the report with the sub-reports at Jasper Server, I get this problem:

Resource not found at: subreport.jrxml.

I’ve seen many posts talking about this problem, but all of them are from people who used IReport to generate their reports. So if someone could help me to understand why this’s happening, I would really appreciated.

Thank you!

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution
Thank you @zh3ntil for answering, but that didn't work.

 

Fortunately I could find why that was happening, I don't konw if  it's silly or that's the way has to be done.

 

So here it comes :

 

The problem was that the subreports resources weren't  being found.

 

@JasperServer -> Report Set up -> Control &  Resources

 

I have to say that when you're adding subreports resources in Jasper Server you must name your resource name and your resource id exactly the same as the physical file is named... So instead of naming your resource 'subreport' you better name it 'subreport.jrxml' including the '.jrxml' extensión.

 

After that my report it's working like a charm.

 

Greets and thank you  all for the help.

 

Sorry for my english.

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