Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JasperReport version problem  RSS feed

 
Carlos Gavidia
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The web application i'm working on uses jasperreport 0.6 for report generation. I need to develop a report using crosstabs, so i replace de old jar (jasperreports-0.6.7.jar) with this : jasperreports-1.2.0.jar so i can use crosstabs in the report. Now, my new reports work fine; but when i try to execute the older ones i got this:

java.io.InvalidClassException: net.sf.jasperreports.engine.base.JRBaseReport; local class incompatible: stream classdesc serialVersionUID = 607, local class serialVersionUID = 10200

If i use de old version of the jar, the old report works fine but the new ones, with crosstabs, doesn't. Is there any way to have two versions of the same jar in WEB-INF/lib? If that's posible ...how the application knows wich version of the class use?

Thank's in advance

Carlos G. Gavidia
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!