2002 JI Open Discussion Posted August 17, 2006 Share Posted August 17, 2006 By: Ruben Misrahi - rnmisrahi SerialVersionUID = 402 2003-03-05 07:58 I use JBuilder8. For some reason I cannot use the samples after I re-unzipped them. When I try the JasperApp.java with arguments: -Tprint -FFirstJasper.jrprint, I get: java.io.InvalidClassException: dori.jasper.engine.JasperPrint; local class incompatible: stream classdesc serialVersionUID = 402, local class serialVersionUID = 404 HELP! By: Teodor Danciu - teodord RE: SerialVersionUID = 402 2003-03-05 09:28 Hi, This is caused by a version mismatch. You are trying to view reports generated with an older version of JasperReports using a newer version of the software, or it is the other way around. You either change the jasperreports.jar from your classpath or regenerate the files using the version you have. The same goes for compiled report designs (.jasper files), that have to be recompiled. I hope this helps. Teodor 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