On Oct 16, 10:55 pm, Jitender <jitender.bha...@gmail.com> wrote:
> I have deployed a web-application on WebSphere (WAS) 6.0, which uses
> struts.
> Upon start-up i see the following error message in the log:
>
> [Servlet Error]-[javax.servlet.UnavailableException: Servlet
> [com.company.MyServlet]: not a servlet class
>
> The application works perfectly fine on Tomcat.
>
> Additional Info::
>
> My Wesbphere settings are to use Class Loading for web application as:
> Parent Last, Application(not module). I have left the Server class
> loading untouched, as if i change it (as suggested in one of the links
> found on google, the server crashes).
>
> Any help is greatly appreciated. I read somewhere j2ee.jar and
> struts.jar have a conflict, but i do not know if this is true, or how
> to resolve it. My web.xml is very simple with a simple servet
> configured to extend from ActionServet.
What does the declaration for MyServlet look like?
|