Hello! I’m trying to adopt drawbridge
to my project. I’ve done all the same way as described at README, but got next error
<http://java.io|java.io>.FileNotFoundException: Could not locate drawbridge/client__init.class, drawbridge/client.clj or drawbridge/client.cljc on classpath.
at clojure.lang.RT.load (RT.java:466)
`
How can it be fixed?Solution found: just added dependency to the ~/.lein/profiles.clj
yes, the error means that the library is not found - if it is added, a restart should do the trick. I get this in InterlliJ with gradle
I have to restart the repl
Indeed! I stand corrected then. 😄
Well, I guess we really have to make this easier to set in nREPL directly - e.g. we can pass some optional initial ns to the server when starting or something along those lines.
I’ll start a discussion on that in a GitHub issue then ^^
also for traceability if it ends up being something that is not desirable for some reason
Lets continue these two threads here: https://github.com/nrepl/nrepl/issues/186 ^^
hey. just saw the issue you posted in nREPL
I just checked what you are trying to do
did you place the :init-ns
inside of :repl-options
?
i.e. this :repl-options {:init-ns your.namespace}
inside of project.clj
Yes, it works for lein repl
but not for lein repl :connect ...
.