executing tests using clojure-test-mode in emacs throws ClassNotFoundException

600 views
Skip to first unread message

Colin Yates

unread,
May 21, 2013, 6:37:19 AM5/21/13
to clo...@googlegroups.com
Hi,

I am trying to get clojure-test-mode working in emacs from https://github.com/technomancy/clojure-mode.

I have the nrepl working great, the problem is if I C-c, C-, in a test file then I get the 
"clojure.lang.Compiler$CompilerException: java.lang.ClassNotFoundException: clojure.test.mode, compiling:(NO_SOURCE_PATH:1:1)
 at clojure.lang.Compiler.analyze (Compiler.java:6380)
" error which seems pretty common according to google.

https://github.com/technomancy/clojure-mode/pull/99#issuecomment-9848355 suggests removing them from load-packages and installing them manually, but is there a better option?  I am trying to consolidate the emacs config across the team so installing in init.el is much simpler.

Is there a way in which I can install clojure-mode from marmalade and still have clojure test mode working?

Thanks.

Colin Yates

unread,
May 21, 2013, 6:42:00 AM5/21/13
to clo...@googlegroups.com
https://github.com/technomancy/clojure-mode/issues/146#issuecomment-15447065 provides one solution - navigate to the source code and then start nrepl.
Reply all
Reply to author
Forward
0 new messages