clojisr - notebook as library - websocket not working
Closed this issue · 0 comments
awb99 commented
git clone git@github.com:pink-gorilla/clojisr.git
cd clojisr
lein notebook
Open browser with notebook as normal, go to r by example notebook.
You will see the error below
14:25:25.125 [qtp1101621927-14] WARN org.eclipse.jetty.server.HttpChannel - /repl/ { }
java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest.getServletContext()Ljavax/servlet/ServletContext;
at org.eclipse.jetty.websocket.servlet.UpgradeHttpServletRequest.<init>(UpgradeHttpServletRequest.java:90)
at org.eclipse.jetty.websocket.servlet.ServletUpgradeRequest.<init>(ServletUpgradeRequest.java:66)
at org.eclipse.jetty.websocket.server.WebSocketServerFactory.acceptWebSocket(WebSocketServerFactory.java:226)
at org.eclipse.jetty.websocket.server.WebSocketServerFactory.acceptWebSocket(WebSocketServerFactory.java:214)
at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:167)
at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:102)
at ring.adapter.jetty9.websocket$proxy_ws_handler$fn__13855.invoke(websocket.clj:175)
at ring.adapter.jetty9.websocket.proxy$org.eclipse.jetty.websocket.server.WebSocketHandler$ff19274a.handle(Unknown Source)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1307)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:190)