ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <>
Subject Re: Help!
Date Mon, 02 Dec 2002 16:40:07 GMT
Hello Khadeeja,

You need to put the servlet.jar in your system classpath or add the
following to the build file...

<path id="blah">
    <pathelement location="[location of servlet.jar]"/>

<javac ....>
    <classpath refid="blah"/>


Monday, December 02, 2002, 10:12:25 AM, you wrote:

KI> I have been following a tutorial to make Apache communicate with Tomcat and 
KI> got to the point of installing Ant and and setting the environment 
KI> variables. When I type the "%ANT_HOME%"/bin/ant I got the message of buiid 
KI> failed, with 3 errors saying that the Java Servlet Package and its classes 
KI> don't exist. When I checked the packages in SDK it was true that 
KI> Javax/Servlet wasn't there. I have downloaded the class files (not the .java 
KI> files)for Servlet package. I'm stuck here. Can somebody please give me some 
KI> tips on how to get on from here.
KI> Desperate,
KI> Hajja

KI> _________________________________________________________________
KI> Tired of spam? Get advanced junk mail protection with MSN 8. 

KI> --
KI> To unsubscribe, e-mail:   <>
KI> For additional commands, e-mail: <>

Best regards,

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message