I'm having the same problem.  So I looked  into your suggestion or adding
$TOMCAT_HOME\bin jar file(s) to my CLASSPATH.  There are no jar files in
that dir.  All my jars are in TOMCAT_HOME/lib.  If the lib dir is what your
talking about, which or the jars to I need to add or do I just point to the
lib dir and it figures it out.


Chris Andreou wrote:

> check you jdk path
> and also set you classpath to all the jar files under the tomcat\bin
>
> -----Original Message-----
> From: Zakaria . [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 28, 2001 4:33 PM
> To: [EMAIL PROTECTED]
> Subject: I CANT COMPILE SERVLETS!!!HELP
>
> Hello,
> I have tomcat running fine but i couldnt compile any servlet. I put the
> servlet in different directories and tried (does it matter?) but same
> result:
> cannot resolve symbol:HttpServlet
>
> i use this command line from the same directory as the servlet:
> javac -classpath c:\tomcat\lib\servlet.jar Hello.java
>
> i also downloaded the servlet.jar from the sun site and include it in the
> classpath and in the command line with the same result...
> how can i compile using the servlet.jar???
>
> thanks.
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]


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

Reply via email to