SerialVersionUID = 402

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
2002 JI Open Discussion's picture
Joined: Aug 10 2006 - 3:28am
Last seen: 17 years 1 month ago

0 Answers:

No answers yet
Feedback