WebSocket handshake: Unexpected response code: 404 -

后端 未结 2 1442
礼貌的吻别
礼貌的吻别 2021-01-14 08:54

I am learning about websockets and followed the instructions here: http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/HomeWebsocket/WebsocketHome.html

I\

2条回答
  •  一向
    一向 (楼主)
    2021-01-14 09:42

    I also had the same problem. Try removing the unwanted jars which contains websocket in your $JAVA_HOME/lib folder. and then add only what you are importing in serverendpoint file.

提交回复
热议问题