Jump to content
We've recently updated our Privacy Statement, available here ×

SerialVersionUID = 402


Recommended Posts

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

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...