Is the (JSR-356) WebSocket client in trunk meant to be usable in a standalone 
app? I have a Maven app that depends on tomcat-websocket and 
tomcat-websocket-api that gives the below exception.

java.lang.NoClassDefFoundError: org/apache/tomcat/util/codec/binary/Base64
        at 
org.apache.tomcat.websocket.WsWebSocketContainer.generateWsKeyValue(WsWebSocketContainer.java:348)
        at 
org.apache.tomcat.websocket.WsWebSocketContainer.createRequestHeaders(WsWebSocketContainer.java:338)
        at 
org.apache.tomcat.websocket.WsWebSocketContainer.connectToServer(WsWebSocketContainer.java:169)

The tomcat-util jar in the lib folder of Tomcat contains this class but the 
tomcat-util jar in Maven doesn't.

thanks,
Rossen

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to