我以

也嘗試了stackoverflow的許多解決方案,但還沒有任何效果。
uj5u.com熱心網友回復:
您在 URL 中缺少 Web 應用程式背景關系路徑。
ws://localhost:8080/[CONTEXT_NAME]/websocket
有時背景關系名稱和專案名稱相同。
例子:
ws://localhost:8080/web_socket_struts2_test/websocket
轉載請註明出處,本文鏈接:https://www.uj5u.com/net/458937.html
