Question: does the mapping file refer to a java class that is in your classpath?
if you only have your mapping file defined and not your class then you will have to code the corresponding java bean, if you're lazy (which is my case) you can always use the source generator found in Raccoon that converts a valid castor mapping file into the source code classes that you will have to compile of course :o) hope this helps, Cedric ps: use Raccoon 0.4, the sourcegenerator works better :o) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: lundi 8 avril 2002 15:03 To: [EMAIL PROTECTED] Subject: [castor-dev] BEGINNER question (I warned you!) Hy! I'm new to Castor, but it looks a very useful project to me. I've written a small test program that should unmarshal a simple xml instance into a java object, but I always get "Nested error: org.exolab.castor.mapping.MappingException: Could not find the class ..." at this point: Unmarshaller unmar=new Unmarshaller(mapping); I suppose this must be something really stupid I'm doing, but I can't find a solution anywhere (docs, mail-archive). Could anyone give me a suggestion? Thanks in advance, ciao! Luca ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
