tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Alves <andref_al...@yahoo.com>
Subject Re: ClassPath question?
Date Fri, 02 Feb 2001 11:33:16 GMT
In the CLASSPATH is necessary put the name of the archive, as follow:
/usr/local/tomcat/lib/servlet.jar

--- Jian Zhang <jian@FLYINGCOLOR.com> escreveu: > Hello;
> 
> Can anyone help with this compile error msg:
> 
> javac HelloWorld.java
> 
> HelloWorld.java:1: Package javax.servlet not found in import.
> import javax.servlet.*;
>        ^
> I have included the servlet.jar in my classpath:
> 
> printenv CLASSPATH
> /usr/local/jdk1.2.2/lib:/usr/local/tomcat/lib:/usr/local/ant/lib
> 
> and servlet.jar is in the folder /usr/local/tomcat/lib
> 
> what have I missed?
> 
> Thanks in advance
> 
> jian
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
>  


__________________________________________________
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

Mime
View raw message