users@jaxb.java.net

Re: Help please: NoClassDefFoundError occurs running the examples

From: Laura Ferguson <allenderL_at_acm.org>
Date: Wed, 14 May 2003 16:31:39 -0400

Thanks for pointing out the error in the batch file... but that doesn't
seem to be the whole solution.

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

I did try using Ant before, but to be sure I just tried using again and got
the same error...
G:\Program Files\jwsdp-1.1\jaxb-1.0>"G:\Program
Files\jwsdp-1.1\jakarta-ant-1.5.1\bin\ant" -emacs
Exception in thread "main" java.lang.NoClassDefFoundError:
Files\j2sdk1/4/1_02\lib\tools/jar;G:\Program

The setupant.bat file looks like this...

@echo on
set JAVA_HOME=G:\Program Files\j2sdk1.4.1_02\bin
set JWSDP_HOME=G:\Program Files\jwsdp-1.1
set JAXB_HOME=%JWSDP_HOME%\jaxb-1.0

set ANT_HOME=%JWSDP_HOME%\jakarta-ant-1.5.1
set PATH="%JAXB_HOME%\bin";"%JWSDP_HOME%\jwsdp-shared\bin";%path%
"%ANT_HOME%\bin\ant" -emacs