java.lang.NoClassDefFoundError: javax/servlet/ServletContext

ws-soap-user | Scott Nichol | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    soap+tomcat

    ws-soap-user | 1 decade ago | Xiao-Ye Wu
    java.lang.NoClassDefFoundError: javax/servlet/ServletContext
  2. 0

    Re: soap+tomcat

    ws-soap-user | 1 decade ago | Scott Nichol
    java.lang.NoClassDefFoundError: javax/servlet/ServletContext

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      javax/servlet/ServletContext

      at org.apache.soap.server.http.ServerHTTPUtils.getServiceManagerFromContext()
    2. org.apache.soap
      ServerHTTPUtils.getServiceManagerFromContext
      1. org.apache.soap.server.http.ServerHTTPUtils.getServiceManagerFromContext(ServerHTTPUtils.java:102)
      1 frame
    3. admin
      deploy_1._jspService
      1. admin.deploy_1._jspService(deploy_1.java:71)
      1 frame
    4. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
      1 frame
    5. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java)
      1 frame
    6. org.apache.tomcat
      Http10Interceptor.processConnection
      1. org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
      2. org.apache.tomcat.core.Handler.invoke(Handler.java:322)
      3. org.apache.tomcat.core.Handler.service(Handler.java:235)
      4. org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
      5. org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917)
      6. org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
      7. org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)
      7 frames
    7. Grizzly HTTP
      TcpWorkerThread.runIt
      1. org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
      1 frame
    8. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
      1 frame
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:536)
      1 frame