This one time, at band camp, Keith Visco said:
KV >
KV >
KV >Chris Longfield wrote:
KV >>
KV >> I'm getting the same problem - but my castor jar is not under the jdk
KV >> tree. Oddly, mine runs fine standalone, but when called through a
KV >> servlet I get the mapping exception (thrown from line 300 of
KV >> org.exolab.castor.mapping.loader.MappingLoader in createDescriptor, if
KV >> that helps). The difference between the two situations makes me think
KV >> of a classpath problem with my loaded class, but I can instantiate it
KV >> just fine a line before the exception gets thrown on a call to create an
KV >> Unmarshaller.
KV >
KV >If it's not the CLASSPATH, it might be a ClassLoader issue, have you
KV >tried to set the ClassLoader for the MappingLoader?
KV >
KV >Thanks,
KV >
Chris,
Try using org.exolab.castor.jdo.JDO.setClassloader( getClass().getClassLoader() )
--
perl -e 'print unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev