users@jaxb.java.net

Re: Help please: NoClassDefFoundError occurs running the examples

From: Ryan Shoemaker - JavaSoft East <Ryan.Shoemaker_at_sun.com>
Date: Wed, 14 May 2003 16:15:36 -0400

Laura Ferguson wrote:
> We were about to switch from the JAXB ea to the 1.0 version of JAXB and I
> wanted to run the examples to do a few tests.
>
> On Windows 2000, I've created a batch file as follows. I fixed one typo
> that was in the pdf (add jaxp_libs\jaxp-api.jar to the Class path), but
> even with that I'm still not able to run xjc on the first example. Any
> suggestions on what I might be doing wrong?
>

This might not be the only problem, but I noticed:

         %JAXP_LIBS%\jaxp-xjc.jar
             ^ ^

This should be:

         %JAXB_LIBS%\jaxb-xjc.jar
             ^ ^

But like Kohsuke said, why not just use the supplied Ant build.xml
files?

--Ryan