{"action":"closed","issue":{"url":"https://api.github.com/repos/socketio/socket.io-client-java/issues/264","labels_url":"https://api.github.com/repos/socketio/socket.io-client-java/issues/264/labels{/name}","comments_url":"https://api.github.com/repos/socketio/socket.io-client-java/issues/264/comments","events_url":"https://api.github.com/repos/socketio/socket.io-client-java/issues/264/events","html_url":"https://github.com/socketio/socket.io-client-java/issues/264","id":121866195,"number":264,"title":"java.lang.NoClassDefFoundError: com/squareup/okhttp/ws/WebSocketListener","user":{"login":"saidBeekast","id":9429424,"avatar_url":"https://avatars.githubusercontent.com/u/9429424?v=3","gravatar_id":"","url":"https://api.github.com/users/saidBeekast","html_url":"https://github.com/saidBeekast","followers_url":"https://api.github.com/users/saidBeekast/followers","following_url":"https://api.github.com/users/saidBeekast/following{/other_user}","gists_url":"https://api.github.com/users/saidBeekast/gists{/gist_id}","starred_url":"https://api.github.com/users/saidBeekast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saidBeekast/subscriptions","organizations_url":"https://api.github.com/users/saidBeekast/orgs","repos_url":"https://api.github.com/users/saidBeekast/repos","events_url":"https://api.github.com/users/saidBeekast/events{/privacy}","received_events_url":"https://api.github.com/users/saidBeekast/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-12T16:59:25Z","updated_at":"2015-12-14T02:47:04Z","closed_at":"2015-12-14T02:47:04Z","body":"When I try to connect to a server using the example given in the readme, I get : \r\n\r\nException in thread \"EventThread\" java.lang.NoClassDefFoundError: com/squareup/okhttp/ws/WebSocketListener\r\n\tat io.socket.engineio.client.Socket.createTransport(Socket.java:269)\r\n\tat io.socket.engineio.client.Socket.probe(Socket.java:317)\r\n\tat io.socket.engineio.client.Socket.onOpen(Socket.java:472)\r\n\tat io.socket.engineio.client.Socket.onHandshake(Socket.java:512)\r\n\tat io.socket.engineio.client.Socket.onPacket(Socket.java:486)\r\n\tat io.socket.engineio.client.Socket.access$900(Socket.java:30)\r\n\tat io.socket.engineio.client.Socket$5.call(Socket.java:300)\r\n\tat io.socket.emitter.Emitter.emit(Emitter.java:117)\r\n\tat io.socket.engineio.client.Transport.onPacket(Transport.java:129)\r\n\tat io.socket.engineio.client.transports.Polling.access$700(Polling.java:17)\r\n\tat io.socket.engineio.client.transports.Polling$2.call(Polling.java:124)\r\n\tat io.socket.engineio.parser.Parser.decodePayload(Parser.java:251)\r\n\tat io.socket.engineio.client.transports.Polling._onData(Polling.java:134)\r\n\tat io.socket.engineio.client.transports.Polling.onData(Polling.java:106)\r\n\tat io.socket.engineio.client.transports.PollingXHR$5$1.run(PollingXHR.java:113)\r\n\tat io.socket.thread.EventThread$2.run(EventThread.java:75)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: java.lang.ClassNotFoundException: com.squareup.okhttp.ws.WebSocketListener\r\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:381)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:424)\r\n\tat sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:357)\r\n\t... 19 more\r\n\r\nAny workaround to fix it please?\r\n\r\nThanks,\r\n\r\nSB"}}