Fork me on GitHub

Hey team, lein + nrepl question (putting it here as I guess it relates to both, so am not sure if an individual channel makes sense) we are trying to set up drawbridge. When we try to connect to it, lein repl :connect We get the following error:

WARNING: update already refers to: #'clojure.core/update in namespace: clj-http.client, being replaced by: #'clj-http.client/update
clojure.lang.Compiler$CompilerException: Syntax error compiling new at (drawbridge/client.clj:36:5).
#:clojure.error{:phase :compile-syntax-check, :line 36, :column 5, :source "drawbridge/client.clj", :symbol new}
 at clojure.lang.Compiler.analyzeSeq (  

Caused by: java.lang.ClassNotFoundException:
 at (
    clojure.lang.DynamicClassLoader.findClass (
    java.lang.ClassLoader.loadClass (
    clojure.lang.DynamicClassLoader.loadClass (
    java.lang.ClassLoader.loadClass (
    java.lang.Class.forName0 ( 
    java.lang.Class.forName ( 
Based on the FntTransport text, I intuited that perhaps there was some versioning issue. I tried down-versioning to We are using nrepl 0.6.0, and nrepl/drawbridge 0.2.1, and lein 2.9.3, but had no luck. Any help on how I could debug this further greatly appreciated


drawbridge depends on the old version of nrepl (seen from the namespace). From 0.3 and on nrepl moved to new coordinates nrepl rather than


^ Curious, it seems like in drawbridge's project.clj they use nrepl 0.6.0 see:


i don't know. but something involved is looking for the old nrepl


you could try lein deps :tree and see if anything involved uses the old nrepl


Closing the loop on this. Was able to get it working! Thanks to a combo of • Heroku docs - • ~1yr blog post updated for newer version of drawbridge: • This GH issue which was updated ~ 3 weeks ago repro-ing the issue with the latest lein but having it work in 2.9.3:

❤️ 3
Steffen Glückselig18:04:31

I just sumpled over drawbridge 0.2.1 not working with Leiningen 2.9.5 - what was the solution a year ago? Or has an alternative emerged?