This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-09-18
Channels
- # aleph (45)
- # aws (4)
- # beginners (56)
- # boot (2)
- # cider (45)
- # clara (2)
- # cljs-dev (9)
- # cljsrn (31)
- # clojure (71)
- # clojure-dusseldorf (8)
- # clojure-gamedev (1)
- # clojure-italy (22)
- # clojure-nl (1)
- # clojure-russia (46)
- # clojure-sg (1)
- # clojure-spec (5)
- # clojure-uk (40)
- # clojurescript (30)
- # community-development (3)
- # cursive (17)
- # data-science (1)
- # datomic (18)
- # emacs (3)
- # figwheel (1)
- # fulcro (19)
- # hoplon (12)
- # jobs (5)
- # leiningen (42)
- # off-topic (12)
- # om (2)
- # onyx (41)
- # re-frame (19)
- # ring-swagger (1)
- # rum (3)
- # shadow-cljs (4)
- # specter (7)
- # unrepl (2)
- # vim (25)
- # yada (24)
I’ve followed the fireplace setup completely I believe but am still getting a “Fireplace: class java.lang.ClassNotFoundException” whenever I try to use anything related to fireplace. I have salve installed. I can’t seem to find any evidence on the net of someone else having run into this problem. Any ideas?
@eugekev could it be that your code is invoking a java class that isn't on the classpath? perhaps an import is spelled wrong, or you're missing a dependency in your project.clj/build.boot?
a basic smoke test to see if your setup is working:
1. in a separate terminal, run lein repl
or boot repl
depending on which tool you're using
2. observe the port of the nrepl that is started
3. in vim, run :Connect 12345
where 12345
is the port on which the nrepl is running
Thanks @dave - it seems to run fine with lein repl and I tried connecting by hand (although the .nrepl-port is generated fine)
oh -- now that i think about it, i've seen a ClassNotFoundException from time to time when i try to e.g. call a function in the namespace i'm in, without requiring the namespace first
It’s strange, everything with fireplace just gives the same thing. I’ve spelunked the vimscript of fireplace too and can’t seem to find anything (as well as I can feasibly read vimscript at least)
supposedly it is possible via piggieback, but i spent some time tinkering with it and wasn't able to sort it out
I’ll give this a shot https://github.com/bhauman/lein-figwheel/wiki/Using-the-Figwheel-REPL-with-Vim
@dave - this was pretty straightforward to get a cljs repl working in intellij: https://github.com/bhauman/lein-figwheel/wiki/Running-figwheel-in-a-Cursive-Clojure-REPL