Maybe you miss spoke (typed?), but the servlet-api.jar should only be in
$CATALINA_HOME/lib and absolutely not on any classpath environment
variable.  Tomcat's classloader hierarchy will make sure it's loaded as
needed.

--David

Ladislav Gaspar wrote:
> As I wrote in the original post
>   
>> (I've cleaned up the classpath, there are no duplicate servlet-api.jar files 
>> around)
>>     
>
> The servlet-api.jar is there and it's also in the classpath. (in 
> $catalina_home/lib)
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: André Warnier [mailto:a...@ice-sa.com] 
> Gesendet: Freitag, 30. Januar 2009 09:52
> An: Tomcat Users List
> Betreff: Re: NoClassDefFoundError: HttpServlet
>
> Ladislav Gaspar wrote:
> [...]
>
>   
>>  
>> What strikes me as very strange is that in the error message:
>> java.lang.NoClassDefFoundError: HttpServlet there is no package name 
>> in HttpServlet (that's why the ClassLoader can't find the Class, I 
>> suppose).
>>  
>> Has anyone got an idea what could be wrong?
>>  
>>     
> No, but to this beginner, that sounds like a pretty basic class to be 
> missing.  Must take quite a bit out of the functionality of Tomcat, no ?
> ;-)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>   


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




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

Reply via email to