keyongtech


  keyongtech > java > 10/2005

 #1  
10-25-05, 01:24 PM
cc
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
 #2  
10-25-05, 01:30 PM
Ingo R. Homann
Hi,

cc wrote:
> 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
 #3  
10-25-05, 01:52 PM
cc
"Ingo R. Homann" <ihomann_spam> ha scritto nel messaggio
news:6d93
> Hi,
>
> cc wrote:
>> 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.


I not understand.
I have clean and rebuild, the problem exist.
 #4  
10-25-05, 02:07 PM
Roedy Green
On Tue, 25 Oct 2005 14:24:25 +0200, "cc" <cc> wrote, quoted
or indirectly quoted someone who said :

>java.io.InvalidClassException:

see
[url down]

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 [url down]
 #5  
10-25-05, 05:45 PM
puzz...
cc wrote:
> 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


Are you sure that JasperReport version on tomcat is *exactly* the same as
the one used with iReport (in the lib/ folder)?
Similar Threads
[PHP] PHP - Jasper Report Integeration

Dear All, Do any one know how to integrate PHP with Jasper Reports. I tried it..but its says "Unable to create Java Virtual Machine " Please refer this link for more...

background image in jasper report

how do i put background image in the jasper report jrxml ? any tag/attribute for body ? also if i want to display alternate rows in different colours in reports how do we...

No pages in Jasper Report's subreport

Hello, I have a complex report, containing several subreports with titles and details. But if database returns no records for the subreport it does not generated and not...

local class incompatible: stream classdesc

Hi everyone, I am using eclipse IDE and i have two different projects A and B. I serialize an object that belongs to project B and deserialize it later. But I am doing this...

Jasper Report vs. Crystal Reports

Hi, Could anyone compare both reporting tools? We need to decide which one to choose. So far, we have been using the PowerBuilder, even for our Java apps (started via a...


All times are GMT. The time now is 08:24 PM. | Privacy Policy