WebSocket connection to 'ws://127.0.0.1:8080/cmd/prog' failed: Error during WebSocket handshake: Une

WebSocket connection to ‘ws://127.0.0.1:8080/cmd/prog’ failed: Error during WebSocket handshake: Unexpected response code: 404


ServerEndpoint

解决方法:需要tomcat8.0
引入jar包 WebSocket connection to 'ws://127.0.0.1:8080/cmd/prog' failed: Error during WebSocket handshake: Une_第1张图片
即可

你可能感兴趣的:(websocket,websocket,404,java,socket,serv)