2004 IR Help Posted August 30, 2006 Share Posted August 30, 2006 By: Allen Lin - allendarjer to Create xls file 2004-03-01 07:35 dear all: I wrote the following program segment. =========== File file = new File(rootPath+"/saveFile/test.xls"); if(!file.isFile()) file.createNewFile(); try{ JasperPrint JP = JM.fillReport(loadPath, pars, conn); JRSingleSheetXlsSaveContributor jss = new JRSingleSheetXlsSaveContributor(); jss.save(JP, file); } catch (JRException jrex) { System.out.println("error2"); } ========== BUT it Throwable java.io.InvalidClassException: dori.jasper.engine.base.JRBaseReport; local class incompatible: stream classdesc serialVersionUID = 405, local class serialVersio nUID = 502 Could someone please telling me what is the problem and how to solve it ? By: Giulio Toffoli - gt78 RE: to Create xls file 2004-03-01 10:11 You are compiling your reports with a jasperreports library version newer than the version that you have in your deploy enviroment. Giulio By: Allen Lin - allendarjer RE: to Create xls file 2004-03-03 23:25 thankyou 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