tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shaolin <shaolinfin...@gmail.com>
Subject Re: package javax.servlet does not exist import javax.servlet.* ;
Date Mon, 02 Feb 2009 14:54:32 GMT
1. Im using 6.0.18 64 bit with windows xp 64  and Java SDK SE 6 update 11
(64bit).
2. I did do it just afew moments ago to see if it would work at which it
didnt so I removed it.
3. The servlet-api jar is in the tomcat lib dir and not in app lib dir
4. Didnt find the j2ee jar in the tomcat folder.


2009/2/2 Caldarale, Charles R <Chuck.Caldarale@unisys.com>

> > From: Shaolin [mailto:shaolinfinest@gmail.com]
> > Subject: package javax.servlet does not exist import javax.servlet.* ;
> >
> > The servlet jars cannot be found. I checked the tomcat lib
> > dir and it was present and it looks like its something to
> > do with the classpath.
>
> 1) Tell us which version of Tomcat, what JVM/JRE you're using, and what
> specific OS, including 32- or 64-bit.
>
> 2) NEVER, never, never set the CLASSPATH environment variable for Tomcat.
>
> 3) Make sure you do not have a copy of servlet-api.jar anywhere in Tomcat's
> classloader hierarchy, other than Tomcat's lib directory.  (Many
> inexperienced users erroneously put that jar in a webapps's WEB-INF/lib
> directory.)
>
> 4) Make sure j2ee.jar is not anywhere Tomcat or the JVM might stumble into
> it.
>
>  - 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message