Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > J2EE
J2EE General J2EE (Java 2 Enterprise Edition) discussions. Questions not specific to EE will be redirected elsewhere.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the J2EE section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 5th, 2007, 05:42 AM
Registered User
Join Date: Feb 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Getting Invalid Class Exception in tomcat

Hi Guys,
I am using the iReport1.2 for preparing the jasper files. I am using the
jasperreports-1.2.0.jar in my library files on the development side. When i run my application in my tomcat(5.5.9) i get the InvalidClassException.

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

From some other stuff i saw on the internet, i know that this is some version related problem.So i checked the versions in the iReport lib and the lib foleder in my developement directory.They are the same. But somehow i am stuck . The same error keeps repeating.

Please help..

Thanks in advance.

Old February 21st, 2007, 06:30 AM
Authorized User
Join Date: Feb 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts

try checking your whole development environment for another copy of jasperreports lib. if the vm says the versions don't match then ... there must be some other version.

btw how did you check the versions match? you compared the classfiles?

Similar Threads
Thread Thread Starter Forum Replies Last Post
random "invalid group condition" exception hannah_h Crystal Reports 1 January 23rd, 2007 02:25 PM
invalid class (aspsmartupload) arabuafef Classic ASP Basics 4 January 9th, 2007 03:28 PM
Invalid class string CH 6 itpro2 BOOK: Beginning ASP 3.0 0 May 22nd, 2006 05:15 PM
Invalid class string - : 0x800401F3 not24 C# 2005 1 March 16th, 2006 04:53 PM
invalid cast exception giulio_santorini C# 2 August 21st, 2003 08:04 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.