Hi,

I am fairly new to Castor myself but it looks like the class you are
mapping is not available to Castor's class loader - make sure it is in
the CLASSPATH and that it is spelt correctly and you are fully
qualifying it (i.e. Package.Class if necessary)

I agree - Castor is extremely useful by the way.. I am using Castor JDO
- it took me a few hours to get to grips with it but I am now producing
entity/data objects at least 20 times quicker than before and can
concentrate on my business logic.

Regards,

Matthew.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: 08 April 2002 14: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

Reply via email to