     HandlerList]
    [org.eclipse.jetty.websocket.servlet
     WebSocketServletFactory WebSocketCreator
-    ServletUpgradeRequest ServletUpgradeResponse]))
+    ServletUpgradeRequest ServletUpgradeResponse]
+   [org.eclipse.jetty.util.log Log StdErrLog]
+   ))
 
 ;; ------------------------------------------------------
 ;; Jetty 9 Websockets

                                   ws-proxy-handlers
                                   async-proxy-handlers
                                   [existing-handler]))))]
      (.setHandler server contexts))))

(defn run-jetty [handler {:keys [websockets async-handlers] :as options}]
  (jt/run-jetty
   handler
   (cond-> options
     (or (not-empty websockets) (not-empty async-handlers))
     (assoc :configurator (async-websocket-configurator
                           (select-keys options
                                        [:websockets :async-handlers]))))))

;; Figwheel REPL adapter


  (defonce scratch (atom {}))
  (-> @scratch :adaptor (.. getSession getUpgradeRequest) build-request-map)
  )



#_(def server (run-jetty
               (fn [ring-request]
