On 30/04/2013 22:29, Mark Thomas wrote: > On 30/04/2013 22:20, Rossen Stoyanchev wrote: >> >> Is the (JSR-356) WebSocket client in trunk meant to be usable in a >> standalone app? > Yes. > >> 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. > > The Maven snapshot probably isn't recent enough.
Yep. That is it. Let me know if you want me to push another snapshot. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org