Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2005

Tip: Looking for answers? Try searching our database.

Jasper Report - local class incompatible

Thread view: 
cc - 25 Oct 2005 13:24 GMT
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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.