tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: HttpServlet not found?
Date Tue, 29 Nov 2005 19:21:41 GMT
yes if you're going to implement a simple servlet and you will not be implementing any (entity)
beans 
(otherwise take servlet-api.jar off CLASSPATH and put back j2ee.jar to $J2EE_HOME\lib\j2ee.jar
and place on CLASSPATH)

Martin-
----- Original Message ----- 
From: "Caldarale, Charles R" <Chuck.Caldarale@unisys.com>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Tuesday, November 29, 2005 11:07 AM
Subject: RE: HttpServlet not found?


> From: Sebastian [mailto:sebastianfunk@mac.com] 
> Subject: HttpServlet not found?
> 
> I compiled it with
> "javac -cp /home/tomcat/j2ee/lib/j2ee.jar:/home/tomcat/mysql  
> MyServlet.java".

Using j2ee.jar with Tomcat usually results in much grief, since it
contains many classes that conflict with those supplied by Tomcat.
Suggest removing it from your system, or at least taking it out of your
classpath.  Use Tomcat's common/lib/servlet-api.jar instead.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org

Mime
View raw message