Are any of the following likely causes of the NoClassDefFoundError error I
keep getting?
1) It's trying to compile "G:\Program" and the problem is that I've
installed jwsdp-1.1 under Program Files
2) I have multiple versions of Java on my machine
3) I have multiple versions of Xerces on my machine and its finding the
wrong one
Thanks,
Laura
At 04:31 PM 5/14/2003 -0400, Laura Ferguson wrote:
>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