How did you compile the schema? -jacobd On Wed, Jul 30, 2008 at 1:05 AM, Daniel Toffetti <[EMAIL PROTECTED]> wrote: > Hi ! > > I've compiled an xsd and I'm getting an error while trying to use the > generated classes like this: > > MyStandardDocument td = MyStandardDocument.Factory.newInstance(); > MyRootElement tdi = td.addNewMyRootElement(); > tdi.setCreator("Daniel"); > ............... > > The error is this: > > GRAVE: Servlet.service() for servlet default threw exception > java.lang.ClassNotFoundException: > schemaorg_apache_xmlbeans.system.s8531D468835C899837F8F10B834D344C.TypeSystemHolder > > And points to this place in the generated code: > > public static final org.apache.xmlbeans.SchemaType type = > (org.apache.xmlbeans.SchemaType) > > org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(MyStandardDocument.class.getClassLoader(), > > "schemaorg_apache_xmlbeans.system.s8531D468835C899837F8F10B834D344C").resolveHandle("traceabilitydocument3d16doctype"); > > Now, what is > "schemaorg_apache_xmlbeans.system.s8531D468835C899837F8F10B834D344C" ?? OK, > I understand the string represents a SchemaTypeSystem, but how do I interpret > its meaning ?? > > Any other hints ? > > Cheers, > > Daniel > > > > ____________________________________________________________________________________ > ¡Buscá desde tu celular! > > Yahoo! oneSEARCH ahora está en Claro > > http://ar.mobile.yahoo.com/onesearch > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]