Looks like a classpath problem.
If you are using Castor inside an application server or servlet engine
make sure you set the ClassLoader for the Mapping.
Mapping mapping = new Mapping( Canal.class.getClassLoader() );
--Keith
zze-BINTEIN Charly FTRD/DMI/CAE wrote:
>
> > Excuse me i have a little problem
> >
> > I have my files mapping.xml and database.xml in the directory
>\categorization\defaultroot
> > but my classes are in the directory
>\categorization\classes\com\francetelecom\categorization
> > and when i'm parsing the mapping file i have the exception:
> > org.exolab.castor.mapping.MappingException: Nested error:
>org.exolab.castor.mapping.MappingException: Could not find the class
>com.francetelecom.categorization.Canal
> >
> > Can you help me please
> > charly
> >
>
> -----------------------------------------------------------
> 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