You need xsdlib.jar (from jwsdp-shared/lib).
--- Marc Logemann <marc_at_logemann.org> wrote:
> Hi,
>
> i just downloaded JAXB 1.5 and try to get the ANT
> task running (after
> successful calling xjc.bat with some test Schema). I
> copied the
> xercesImpl.jar into my ANT/lib folder and keep
> getting
> java.lang.NoClassDefFoundError:
> com/sun/xml/util/XmlChars
> when executing the following task.
>
>
> <taskdef name="xjc"
> classname="com.sun.tools.xjc.XJCTask"
> classpathref="classpath"/>
> <target name="test" description="Compile main source
> tree java files">
> <xjc
> schema="${web.dir}/WEB-INF/netversys_providers.xsd"
> target="src"
> package="de.logentis.netversys.xml"/>
> </target>
>
> classpathref contains the 4 JAXB jars.
>
> I am using IntelliJ IDEA with a bundled JRE 1.4.2
>
> Can anyone help me out here? I tried several things
> regarding classpath
> but i am stuck. Where is this class XmlChars
> included in and where to
> put the resulting jar file?
>
> --
> regards
> Marc Logemann
> http://www.logemann.org
> http://www.logentis.de
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail:
> users-help_at_jaxb.dev.java.net
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com