Hi,

I have the jakarta-tomcat-3.2.1 distribution.

I found that I had to make the following change to
..\doc\appdev\sample\build.bat:

---------------------------
...
set CP=%TOMCAT_HOME%\lib\ant.jar;%TOMCAT_HOME%\lib\servlet.jar
set CP=%CP%;%TOMCAT_HOME%\lib\jaxp.jar;%TOMCAT_HOME%\lib\parser.jar
       ^^^^^(add this!)
set CP=%CP%;%JAVA_HOME%\lib\tools.jar
...
----------------------------

Without this fix I was getting the error:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/tools/ant/Main

thanks!



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to