tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Freeman <johnf...@pacbell.net>
Subject doc\appdev\sample\build.bat fix:
Date Tue, 30 Jan 2001 00:32:55 GMT
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!



Mime
View raw message