java.lang.RuntimeException: java.lang.ClassCastException: org.apache.tomcat.websocket.server.WsServerContainer cannot be cast to io.undertow.websockets.jsr.ServerWebSocketContainer

Stack Overflow | user5139637 | 6 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

    Wildfly 10.0 deploy war 'cannot be cast to WsServerContainer' exception

    GitHub | 8 months ago | mrkeuz
    java.lang.RuntimeException: java.lang.ClassCastException: org.apache.tomcat.websocket.server.WsServerContainer cannot be cast to io.undertow.websockets.jsr.ServerWebSocketContainer
  2. 0

    Enabling WebSockets using spring

    Stack Overflow | 6 months ago | user5139637
    java.lang.RuntimeException: java.lang.ClassCastException: org.apache.tomcat.websocket.server.WsServerContainer cannot be cast to io.undertow.websockets.jsr.ServerWebSocketContainer
  3. 0

    wildfly 10 and grails 3.1.4 not working

    GitHub | 11 months ago | darcusfenix
    java.lang.RuntimeException: java.lang.ClassCastException: org.apache.tomcat.websocket.server.WsServerContainer cannot be cast to io.undertow.websockets.jsr.ServerWebSocketContainer
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [cas-user] Cas 5.x on WildFly

    Google Groups | 2 days ago | Gokhan Mansuroglu
    java.lang.RuntimeException: java.lang.ClassCastException: org.apache.tomcat.websocket.server.WsServerContainer cannot be cast to io.undertow.websockets.jsr.ServerWebSocketContainer
  6. 0

    Spring Boot Websockets in Wildfly

    Stack Overflow | 2 years ago | Chris Stier
    java.lang.ClassCastException: org.apache.tomcat.websocket.server.WsServerContainer cannot be cast to io.undertow.websockets.jsr.ServerWebSocketContainer

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.apache.tomcat.websocket.server.WsServerContainer cannot be cast to io.undertow.websockets.jsr.ServerWebSocketContainer

      at io.undertow.websockets.jsr.Bootstrap$WebSocketListener.contextInitialized()
    2. Undertow WebSockets JSR356 implementations
      Bootstrap$WebSocketListener.contextInitialized
      1. io.undertow.websockets.jsr.Bootstrap$WebSocketListener.contextInitialized(Bootstrap.java:104)
      1 frame
    3. Undertow Servlet
      DeploymentManagerImpl.deploy
      1. io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:187)
      2. io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:198)
      2 frames
    4. WildFly: Undertow
      UndertowDeploymentService$1.run
      1. org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:100)
      2. org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82)
      2 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames
    6. JBoss Threads
      JBossThread.run
      1. org.jboss.threads.JBossThread.run(JBossThread.java:320)
      1 frame