javax.servlet.ServletException: java.lang.ClassCastException: org.eclipse.jetty.util.DecoratedObjectFactory cannot be cast to org.eclipse.jetty.util.DecoratedObjectFactory

Stack Overflow | wsj | 8 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

    Jetty9 websocket, start the service is normal, access error?

    Stack Overflow | 8 months ago | wsj
    javax.servlet.ServletException: java.lang.ClassCastException: org.eclipse.jetty.util.DecoratedObjectFactory cannot be cast to org.eclipse.jetty.util.DecoratedObjectFactory
  2. 0

    ClassNotFoundException: org.eclipse.jetty.websocket.server.WebSocketServerFactory

    Stack Overflow | 10 months ago | Alexander Farber
    javax.servlet.ServletException: java.lang.ClassNotFoundException: org.eclipse.jetty.websocket.server.WebSocketServerFactory
  3. 0

    Spring servlet /main unavailable

    Stack Overflow | 5 months ago | devop
    javax.servlet.ServletException: java.lang.ClassCastException: org.eclipse.jetty.util.DecoratedObjectFactory cannot be cast to org.eclipse.jetty.util.DecoratedObjectFactory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Using Websockets in Jetty

    Stack Overflow | 2 years ago | scubbo
    javax.servlet.ServletException: Not running on Jetty, WebSocket support unavailable
  6. 0

    ClassNotFoundException: org.eclipse.jetty.websocket.server.WebSocketServerFactory

    Eclipse Bugzilla | 2 years ago | stephane.begaudeau
    javax.servlet.ServletException: java.lang.ClassNotFoundException: org.eclipse.jetty.websocket.server.WebSocketServerFactory

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.servlet.ServletException

      java.lang.ClassCastException: org.eclipse.jetty.util.DecoratedObjectFactory cannot be cast to org.eclipse.jetty.util.DecoratedObjectFactory

      at org.eclipse.jetty.websocket.servlet.WebSocketServlet.init()
    2. Jetty
      WebSocketServlet.init
      1. org.eclipse.jetty.websocket.servlet.WebSocketServlet.init(WebSocketServlet.java:142)
      1 frame
    3. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:244)
      1 frame
    4. Jetty
      SelectChannelEndPoint$2.run
      1. org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:626)
      2. org.eclipse.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:482)
      3. org.eclipse.jetty.servlet.ServletHolder.ensureInstance(ServletHolder.java:774)
      4. org.eclipse.jetty.servlet.ServletHolder.prepare(ServletHolder.java:759)
      5. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:578)
      6. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
      7. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
      8. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
      9. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1158)
      10. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
      11. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
      12. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1090)
      13. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      14. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
      15. org.eclipse.jetty.server.Server.handle(Server.java:517)
      16. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308)
      17. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
      18. org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)
      19. org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
      20. org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
      20 frames
    5. org.eclipse.jetty
      ExecuteProduceConsume.run
      1. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
      2. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
      2 frames
    6. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
      2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
      2 frames
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame