Two errors:
I'm getting an error of
org.exolab.castor.mapping.MappingException: The field
TYPE_LINE_ITEM_NUMBER in class com.taxware.util.message.MsgAttributes is
not accessible -- the field must be public, not static and not transient
at
org.exolab.castor.xml.Marshaller.getClassDescriptor(Marshaller.java:1645
)
the part of the object is
public class MsgAttributes implements Serializable
{
public static final String TYPE_LINE_ITEM_NUMBER = "LineItemNumber";
Is this kind of thing not allowed on objects that are going to be
serialized?
Also, else where I'm getting a
java.lang.IllegalStateException: Java schema change: Class
com.taxware.util.message.TaxDecisionSet can no longer be constructed:
Class org.exolab.castor.mapping.loader.Types can not access a member of
class com.taxware.util.message.TaxDecisionSet with modifiers "protected"
I don't understand why it has to be constructed, since I'm marshalling,
not demarshalling, but can this be fixed just by making its default
constructor public rather than protected?
Thanks!
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev