I saw a few posts on this earlier in the mail archives, but there
wasn't a viable solution that was posted.

I have a class that I ran through the automatic mapping tool to automatically create the mapping from an XML file. I checked it over and everything seems to be ok.

I wanted to test out whether or not I could instantiate an instance of the class and write the data to an XML file, using the mapping file I just created.

However, whenever I try to marshal the data, I get this error :

org.exolab.castor.mapping.MappingException: The method XXXX in class XXX is not accessible -- the method must be public and not static.

From my object structure, the method XXXX is public and not static :P
Of course, in the prior messages in the archives, such as

http://www.mail-archive.com/[email protected]/msg11137.html

I have a similar structure that involve interfaces, etc.

I was wondering if there is something I could do to resolve this issue?

Thx,
Ryan


_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail

----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev



Reply via email to