users@jaxb.java.net

Re: Exception in creating XML file

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Tue, 29 Jul 2003 08:55:51 -0700

SUBSCRIBE JAXB-INTEREST Anonymous <bmadhuri_at_MYWAY.COM> wrote:
> Am I missing anything here? It was working fine before when I had 1.0
> version. Now, I changed program for 1.0.1. (Also, schema document has
> been changed). I copied all the jar files needed for JAXB runtime
> environment. Please help me.

JAXB RI 1.0.1 generates more classes than JAXB RI 1.0 does. And the
com.mycom.jaxb.schemaClasses.impl.runtime.UnmarshallingContext class is
one of those.

Make sure that you copied these classes into your test environment.

Also, can I see the full stack trace of the JAXBException? IOW,

    } catch( JAXBException e ) {
        e.printStackTrace(); // send me this result
    }


regards,
--
Kohsuke Kawaguchi                  408-276-7063 (x17063)
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com