[jdom-interest] serialVersionUID for JDOM classes

Andres March Andres at ehealthcontracts.com
Tue May 28 09:28:24 PDT 2002


I am sure they use the same version because I use the jar from the distribution on both now.  One in JBuilder for the client and the other in Sun's Servlet Runner for the server.  I agree with your conclusions but I have not been able to prove them.  The fact is I have seen 4 different serialVersionUIDs for just the document class depending upon if I compiled it myself or used the jdom.jar.

I am now going to attempt adding my own serialVersionUIDs.  I heard that doesn't work either but it's the only thing I have yet to try.  Thanks for the advice and if you have anymore please let me know.

-Andres

-----Original Message-----
From: Daniel Hoppe [mailto:hoppe at sitewaerts.de]
Sent: Monday, May 27, 2002 12:37 AM
To: JDOM list (E-mail)
Subject: RE: [jdom-interest] serialVersionUID for JDOM classes


Hi Andres,

are you 100% sure that the server and all clients use the same version of
JDOM classes? Do you have cached classes somewhere (e.g. an outdated Java
Web Start Cache, a browser, ...)? The exception quite clearly says that the
class versions are not the same and this is most probably not a problem of
the virtual machine version but rather exactly what it says (own
time-consuming experience). Application servers sometimes have strange
manners regarding where they hide the libraries you feed them... You can try
serialver to compare the serialVersionUID of your libraries on client and
server. 

I agree that once there is a stable set of classes it would probably be a
good idea to add a serialVersionUID to prevent this kind of problems.

Best Regards,

Daniel

<<<<<<<<<<<<<<<<<<<<<<<<<<<
sitewaerts GmbH
Hebelstraße 15
D-76133 Karlsruhe

Tel: +49 (721) 920 918 0
Fax: +49 (721) 920 918 29
http://www.sitewaerts.de
>>>>>>>>>>>>>>>>>>>>>>>>>>>


Der Inhalt dieser E-Mail ist vertraulich und ausschließlich für den
bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat
dieser E-Mail oder dessen Vertreter sein sollten, so beachten Sie bitte, daß
jede Form der Kenntnisnahme, Veröffentlichung, Vervielfältigung oder
Weitergabe des Inhalts dieser E-Mail unzulässig ist. Wir bitten Sie, sich in
diesem Fall mit dem Absender der E-Mail in Verbindung zu setzen. Aussagen
gegenüber dem Adressaten unterliegen den Regelungen des zugrundeliegenden
Angebotes bzw. Auftrags, insbesondere den Allgemeinen Auftragsbedingungen
und der individuellen Haftungsvereinbarung. Der Inhalt der E-Mail ist nur
rechtsverbindlich, wenn er unsererseits durch einen Brief entsprechend
bestätigt wird.


_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com



More information about the jdom-interest mailing list