Hi,
I have a problem with Jasper Report.
I have written a report with IReport and I have integrated it in my web
project.
My report uses a xml data source.
When I execute my program,it show this exception:
java.io.InvalidClassException:
net.sf.jasperreports.engine.base.JRBaseReport; local class incompatible:
stream classdesc serialVersionUID = 601, local class serialVersionUID =
10001
You can help my?
I use:
JBuilder 2005
Tomcat 5.0,
j2se 1.4.2
Thank and sorry for my english,
Carlo
Ingo R. Homann - 25 Oct 2005 13:30 GMT
Hi,
> When I execute my program,it show this exception:
> java.io.InvalidClassException:
> net.sf.jasperreports.engine.base.JRBaseReport; local class incompatible:
> stream classdesc serialVersionUID = 601, local class serialVersionUID =
> 10001
Sounds to me as if a complete clean/rebuild should help.
Ciao,
Ingo
cc - 25 Oct 2005 13:52 GMT
> Hi,
>
[quoted text clipped - 5 lines]
>
> Sounds to me as if a complete clean/rebuild should help.
I not understand.
I have clean and rebuild, the problem exist.
> Ciao,
> Ingo
Roedy Green - 25 Oct 2005 14:07 GMT
>java.io.InvalidClassException:
see
http://mindprod.com/jgloss/runerrormessages.html#INVALIDCLASS
You have stale *.ser serialialised object file. It needs to be
regenerated. Exactly what that is, can't tell you. Perhaps with a
stack trace or filemon you could figure out which file is stale.
See http://mindprod.com/jgloss/filemon.html

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
puzz... - 25 Oct 2005 17:45 GMT
> Hi,
> I have a problem with Jasper Report.
[quoted text clipped - 8 lines]
> stream classdesc serialVersionUID = 601, local class serialVersionUID =
> 10001
Are you sure that JasperReport version on tomcat is *exactly* the same as
the one used with iReport (in the lib/ folder)?
--
www.puzz.info