From: Ejbca S. <ejb...@pr...> - 2006-05-16 13:13:06
|
No, you are right. A serialVersionUID should be added to the serializable= =20 classes. When you get an error it's good because the error tells you what= the=20 expected serialVersionUID shold be so that you can add the correct one (t= he same=20 as perhaps persisted in JBoss somewhere) to the class. /Tomas Javier Aparicio Conesa wrote: > Hi Tomas, > I'm working in a ejb client for the EJBCA API, i can solve the problem=20 > putting the server jars in my client classpath, but i think the correct= =20 > way should be establishing an SerialVersion UID for each serializable=20 > class, i'm wrong? >=20 > Cheers, > Javier >=20 > Tomas Gustavsson escribi=F3: >> >> Hi, where and when do you get "local class incompatible"? If I get it,= =20 >> only when I change things, I usually add it. There are several classes= =20 >> that have serialVersionUID already, see for example CATokenInfo. When=20 >> adding it we need to add the correct value though, i.e. the one that=20 >> deployed classes have, then it's OK. >> >> Cheers, >> Tomas >> >> >> >> Javier Aparicio Conesa wrote: >> >>> Hi folk, >>> >>> Could be a good idea to add the serial version UID to the=20 >>> serializable classes. I'm having some "local class incompatible:". >>> >>> PD: I had send some mails a few days ago, have you read them? >>> >>> Thanks, >>> Javier >>> >>> --=20 >>> >>> Autoridad de Certificaci=F3n de la Comunidad Valenciana=20 >>> <http://www.accv.es> >>> >>> *Javier Aparicio* >>> >>> c/Col=F3n, 66 1=AA Planta - 46004 Valencia >>> >>> jap...@ac... <mailto:jap...@ac...>=20 >>> <mailto:jap...@ac...> >>> >>> Tel: 961961168 >>> >> >> >> >> ------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, securi= ty? >> Get stuff done quickly with pre-integrated technology to make your job= =20 >> easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache=20 >> Geronimo >> http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=120709&bid&3057&dat=121642= =20 >> <http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=120709&bid&3057&dat=12164= 2> >> _______________________________________________ >> Ejbca-develop mailing list >> Ejb...@li...=20 >> <mailto:Ejb...@li...> >> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >> >> >=20 > --=20 >=20 > Autoridad de Certificaci=F3n de la Comunidad Valenciana <http://www.acc= v.es> >=20 > *Javier Aparicio* >=20 > c/Col=F3n, 66 1=AA Planta - 46004 Valencia >=20 > jap...@ac... <mailto:jap...@ac...> >=20 > Tel: 961961168 >=20 |