java.lang.IllegalStateException: javax.websocket.server.ServerContainer not available
时间: 2023-11-17 16:34:04 浏览: 44
This exception indicates that the WebSocket server container is not available in the current context. There can be several reasons for this:
1. The WebSocket server container is not properly installed or configured in the application server or container.
2. The WebSocket server container is not supported by the current runtime environment or operating system.
3. The WebSocket server container is not enabled or started in the application server or container.
To resolve this issue, you can try the following steps:
1. Verify that the WebSocket server container is properly installed and configured in the application server or container.
2. Verify that the WebSocket server container is supported by the current runtime environment or operating system.
3. Enable or start the WebSocket server container in the application server or container.
4. If the issue persists, consult the application server or container documentation or support for further assistance.