nmilasinovic Posted December 8, 2017 Share Posted December 8, 2017 Hello,I need to migrate from jasper reports 4.5.1 to 6. There is many already created and working jrxml reports.However it is not possible now to load it to JasperReport object using loadObjectFromLocation(String) (method not exists anymore) , and then set parameters and generate report.What is now in jasper 6+ best way to load jrxml files from location, point is that all old jrxml files should work without change.Thanks in advance. Link to comment Share on other sites More sharing options...
Solution bojan.brajkovic Posted December 11, 2017 Solution Share Posted December 11, 2017 Hi Nenad,I presume you are using Community Edition of the JRS. Please find a detailed guide to the upgrade from 4.5. to the 6.2. and then to the 6.4. at the following URL.Kind regards, Link to comment Share on other sites More sharing options...
nmilasinovic Posted December 11, 2017 Author Share Posted December 11, 2017 Hi Bojan,I am using Jasper Reports API in web application, not JRS. Some methods are now removed regarding importing and setting parameters to .jrxml files. Link to comment Share on other sites More sharing options...
bojan.brajkovic Posted December 11, 2017 Share Posted December 11, 2017 Hi Nenad,Actually, there were certain updates to the REST API library, and some of the methods are updated, so you just have to update your requests. You can find more info on the updated API in the Ultimate Guide.Cheers. 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