ws-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Georg Sauer-Limbach <>
Subject Re: javax.servlet.http.HttpServlet not found
Date Tue, 06 May 2008 13:08:12 GMT
Hi David.

You need to have the Servlet API in your class path. It is found
in servlet-2.3.jar, for example, which is located in the lib directory
of your xindice distribution.

On how to use this ServletWebServer, see the docs:
I think you are correct saying that this class is the "container".
You just need one concrete servlet to work with it.


David Frey wrote:
> Hi all,
> I'm trying to use the ServletWebServer, however when I try to instanciate
> it, i get the following error:
> The type javax.servlet.http.HttpServlet cannot be resolved. It is indirectly 
>  referenced from required .class files
> Searching the internet I only found out that "the servlet container should
> provide the implementation" of the servlet-api. Isn't the ServletWebServer
> the container I'm using? Or should I take an implementation of HttpServlet
> from tomcat or the like?
> Thanks in advance for any answer.
> david

View raw message