Jump to content
JasperReports Library 7.0 is now available ×

ireport jasperreports web app


Recommended Posts

By: Ron LePine - rlepine

ireport jasperreports web app

2003-09-12 08:07

I've created a .jasper file using ireport on my local machine. I then moved the .jasper file to my web application and I get the follwing error.

 

Caused by: java.io.InvalidClassException: dori.jasper.engine.base.JRBaseReport; local class incompatible: stream classdesc serialVersionUID = 406, local class serialVersionUID = 500

at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:459)

at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)

at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)

at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)

at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)

at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)

at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)

at dori.jasper.engine.util.JRLoader.loadObject(JRLoader.java:134)

 

I installed the latest jasper jar files on the server but I'm using the jar files that came with ireport on my local machine. Is that a problem???

 

Thanks in advance,

 

Ron

 

 

 

 

 

By: Gregory A. Swarthout - gswarthout

RE: ireport jasperreports web app

2003-09-12 09:03

You MUST run the report with the same version of JasperReports that you compiled your report design with.

 

 

 

 

By: Ron LePine - rlepine

RE: ireport jasperreports web app

2003-09-17 05:27

Greg,

 

Thanks I got it running. The problem was that I had two jasper*.jar file in my classpath (both diff versions).

 

Thanks for the reponse (and dealing with my drug related question).

 

Ron

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...