HWilliamRS Posted January 18, 2016 Share Posted January 18, 2016 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 More sharing options...
zh3ntil Posted January 18, 2016 Share Posted January 18, 2016 Change subreport expression "repo:subreport.jrxml" and publish report to jasperserver. Link to comment Share on other sites More sharing options...
Solution HWilliamRS Posted January 24, 2016 Author Solution Share Posted January 24, 2016 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 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