Hi all,
Did you have troubles with interface during the marshalling ?
Let say classA implements interfaceB
public interface interfaceB
{
public static final int OBJECT_STATE = 1;
}
I've mapped "classA" (auto-complete=false) but not "interfaceB".
The field mapped for "classA" doesn't refer to "interfaceB".
Therefore, Castor should not go into "interfaceB".
But I get that error on "OBJECT_STATE" :
> > org.exolab.castor.mapping.MappingException: The field OBJECT_STATE in class
> > interfaceB is not accessible -- the field must be public, not static and not
> > transient
Even if i remove "static", i still have the same error.
Notice that i don't want to marshall OBJECT_STATE.
What could i do to avoid that ?
thanks a lot
______________________________________
Jérôme PASTRE
Axway. (a Sopra Group company.)
R&D Axway Annecy
8 e-mail : [EMAIL PROTECTED]m
( phone : (+33) (0)4 50 33 33 64