[jboss-user] [JBoss Web Services] - Re: cannot be cast to javax.servlet.Servlet

PRAVEEN KONDAKA do-not-reply at jboss.com
Mon Apr 18 14:02:28 EDT 2011


PRAVEEN KONDAKA [http://community.jboss.org/people/pkondaka1] created the discussion

"Re: cannot be cast to javax.servlet.Servlet"

To view the discussion, visit: http://community.jboss.org/message/600766#600766

--------------------------------------------------------------
This is actual error message. Am i missing any jar files in jboss classpath? any dependencies missing? Please help me


+*13:58:32,946 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/2gdb]] Marking servlet HelloService as unavailable*+
+*13:58:32,946 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/2gdb].[TestService]] Allocate exception for servlet HelloService: java.lang.ClassCastException: com.cg.webservice.Hello cannot be cast to javax.servlet.Servlet*+
 +*at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1162) [:6.0.0.Final]*+
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/600766#600766]

Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110418/574e8375/attachment-0001.html 


More information about the jboss-user mailing list