Chris Longfield wrote:
>
> I'm getting the same problem - but my castor jar is not under the jdk
> tree. Oddly, mine runs fine standalone, but when called through a
> servlet I get the mapping exception (thrown from line 300 of
> org.exolab.castor.mapping.loader.MappingLoader in createDescriptor, if
> that helps). The difference between the two situations makes me think
> of a classpath problem with my loaded class, but I can instantiate it
> just fine a line before the exception gets thrown on a call to create an
> Unmarshaller.
If it's not the CLASSPATH, it might be a ClassLoader issue, have you
tried to set the ClassLoader for the MappingLoader?
Thanks,
--Keith
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev