Welcome to javaranch Ramesh. You seem to have selected the wrong forum. This probably belongs in Java in general. A moderator will move it there shortly.
The serial version UID is not assigned to 0 by default. It is dynamically assigned each time. Have your tried assigning an ID for the enum ? Did it work ? Even if you do assign an ID, the problem seems to be with serializing and deserializing classes that were compiled with different javac versions. Can you elaborate about your problem a little more ?
My problem is, i have a xsd file which i will use to generate java classes from them using jaxb. In which there are some enum classes. all are serialized classes and have serialVersionUID assigned. but enums doesn't have these UIDs. and when i try to pass these objects from client to server i am getting the above error.
so whats the call?
can i assign manually one UID for enums also?