Kador, Daniel wrote:
Hi,

I'm using Castor to generate Java classes from an XML schema.  I then
use these classes as part of an Axis implementation of a service I'm
working on.  Everything works very well, but now I'm trying to clear up
any warnings that my IDE (Eclipse, if that helps) throws at me.  For
each generated class, Eclipse warns that:

"The serializable class <CLASSNAME> does not declare a static final
serialVersionUID field of type long"

Upon doing some research, I've learned that this is not required, but
highly recommended to ensure interoperability in serialization.  I can
generate this variable with Eclipse, but since I have well over 100
generated classes, I'd /really/ rather not do that.

Any suggestions?


You can turn off these warnings under Window->Preferences->Java->Compiler->Errors/Warnings

Stein

-------------------------------------------------
If you wish to unsubscribe from this list, please send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to