Since I upgraded castor from version 1.2 to 1.3.1 it seems that castor is no more able to recognize the hibernate proxy classes. I had created a castor.properties file and put the following property in it when I was using 1.2:
org.exolab.castor.xml.proxyInterfaces = net.sf.cglib.proxy.Factory, org.hibernate.proxy.HibernateProxy It doesn't work any more since I upgraded to castor 1.3.1. I switched back to castor 1.2 and it started to work again. I use Hibernate 3.3.1 and Spring 2.5.6. For Castor 1.2, I have the following Jars: castor-1.2.jar and castor-1.2-xml.jar. With 1.3.1, I have castor-1.3.1.jar, castor-1.3.1-core.jar and castor-1.3.1-xml.jar on the classpath. Thank you Philip CONFIDENTIALITY NOTICE The present message is intended for the named recipient(s), is confidential and is considered as an adequate means of communication equivalent to regular mail. Any unauthorized use or disclosure is prohibited. If you received this communication in error or without authorization, please notify us immediately and permanently delete the entire communication from any electronic or other storage medium. <br> AVIS DE CONFIDENTIALITÉ Veuillez noter que le présent message est destiné au(x) destinataire(s) susmentionné(es), que son contenu est confidentiel et que nous le considérons comme un moyen adéquat de communication, au même titre que le courrier ordinaire. Tout usage ou divulgation non autorisé de ce document est interdit. Si vous avez reçu cette communication par erreur, veuillez nous en aviser immédiatement et détruire l'original, de façon permanente, de tout support électronique ou de quelque autre nature.

