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?