prevayler, serializing, serialVersionUID

Christoph Sturm <[email protected]> Sat, 09 Aug 2003 11:36:22 +0200
Newsgroups gmane.comp.java.nanning.devel
Message-ID <[email protected]>
Hi Peeps!

I have this interface
/**
 * @entity
 */
public interface Repository extends IdentifyingSystem, Serializable, 
ClockedSystem {


and this impl:
public class RepositoryImpl extends BasicIdentifyingSystem implements 
Repository {

    private static final long serialVersionUID = 1;


but when I add a field to the impl, i get this after a restart of my system

java.io.InvalidClassException: at.ecentury.cms2.repository.Repository; 
local class incompatible: stream classdesc serialVersionUID = 
9051989265708911431, localclass serialVersionUID = 3277788523855653526 
(File: prevalence\0000000000000000001.transactionLog)

it seems that my serialUID is not picked up. Does anyone have an idea what 
I could be doing wrong?

regards
 chris


-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/