org.eclipse.jetty.servlet.ServletHolder$1: java.lang.ClassCastException: com.sun.jersey.spi.container.servlet.ServletContainer cannot be cast to javax.servlet.Servlet          at org.eclipse.jetty.servlet.ServletHolder.makeUnavailable(ServletHolder.java:408)

cloudbbs.org | 9 months 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

    请教使用Jersey类库时遇到ClassCastException - Java - 云计算开发者社区 - Powered by Discuz!

    cloudbbs.org | 9 months ago
    org.eclipse.jetty.servlet.ServletHolder$1: java.lang.ClassCastException: com.sun.jersey.spi.container.servlet.ServletContainer cannot be cast to javax.servlet.Servlet          at org.eclipse.jetty.servlet.ServletHolder.makeUnavailable(ServletHolder.java:408)

    Root Cause Analysis

    1. org.eclipse.jetty.servlet.ServletHolder$1

      java.lang.ClassCastException: com.sun.jersey.spi.container.servlet.ServletContainer cannot be cast to javax.servlet.Servlet          at org.eclipse.jetty.servlet.ServletHolder.makeUnavailable(ServletHolder.java:408)

      at com.sina.sae.servlet.SaeServletHolder.initServlet()
    2. com.sina.sae
      SaeServletHolder.initServlet
      1. com.sina.sae.servlet.SaeServletHolder.initServlet(SaeServletHolder.java:56)
      1 frame
    3. Jetty
      ServletHolder.doStart
      1. org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:260)
      1 frame