kishorereddy81 Posted June 27, 2007 Share Posted June 27, 2007 Hi, We have been using Jasper 0.65 Version for last 3 years. We have a requirement to deliver the Report in the RTF format. According to the 0.65 version, Jasper doesn't support Generation of Reports in the RTF format. We would like to migate to 1.3.4 version, we are amazed to findout that 0.65 reports are not opened in the 1.3.4. We are getting the following exception. Please provide the solution for this problem. Immeidately solution required. Do we have any tool to convert from 0.65 to 1.3.4.code:String jasperFile=application.getRealPath(System.getProperty("file.separator"))+ "reports"+System.getProperty("file.separator")+"xxx.jasper"; File reportFile = new File(jasperFile); JasperReport jasperReport = (JasperReport)JRLoader.loadObject(reportFile.getPath());Getting following exception net.sf.jasperreports.engine.JRException: Error loading object from file : E:SJMHreportsxxx.jasperat net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:92) at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:64)Caused by: java.io.InvalidClassException: net.sf.jasperreports.engine.base.JRBaseReport; local class incompatible: stream classdesc serialVersionUID = 605, local class serialVersionUID = 10200 Link to comment Share on other sites More sharing options...
mshoe Posted June 27, 2007 Share Posted June 27, 2007 Have you tried recompiling the reports? 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