users@jaxb.java.net

Re: Exception in thread "main" java.lang.NoClassDefFoundError: co m/sun/org/apache/xml/internal/serialize/OutputFormat

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Wed, 26 Jan 2005 13:05:25 +0100

Hi.

> I'm attempting to use jaxb with Mpeg7 schemas. I've got so far until it
> says that it is compiling a schema then I get the error message shown in
> the subject line above. Details below are snapshot of output.

XJC needs its own version of xerces.
Typical invocation class path includes the following libraries:

     <fileset dir="${jaxb.lib.dir}">
       <include name="dom.jar"/>
       <include name="jax-qname.jar"/>
       <include name="jaxb-api.jar"/>
       <include name="jaxb-impl.jar"/>
       <include name="jaxb-libs.jar"/>
       <include name="jaxb-xjc.jar"/>
       <include name="jaxp-api.jar"/>
       <include name="namespace.jar"/>
       <include name="relaxngDatatype.jar"/>
       <include name="sax.jar"/>
       <include name="xalan.jar"/>
       <include name="xercesImpl.jar"/>
       <include name="xsdlib.jar"/>
     </fileset>

Bye.
/lexi

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net