WARNING: You have $CLASSPATH set, probably by accident.
It is strongly recommended to unset this before proceeding.
clojure.lang.Compiler$CompilerException: Syntax error compiling at (cider/nrepl.clj:1:1).
#:clojure.error{:phase :compile-syntax-check, :line 1, :column 1, :source "cider/nrepl.clj"}
at clojure.lang.Compiler.load (Compiler.java:7647)
...
and
Caused by: java.io.FileNotFoundException: Could not locate clojure/tools/nrepl/server__init.class, clojure/tools/nrepl/server.clj or clojure/tools/nrepl/server.cljc on classpath.
at clojure.lang.RT.load (RT.java:466)
...
********************
So, where am I going wrong? How do I get back in the Clojure saddle on OS X?
Ken Beesley
Check what’s in your ~/.lein/profiles.clj file – that’s usually the cause of bizarre errors that people report with Leiningen.
Also check your environment variables: env|fgrep CLASSPATH
Per the warning, you probably want to remove whatever is setting that (from one of your shell’s dot files, perhaps?).
Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood
On 13Mar2019, at 10:19, Sean Corfield <se...@corfield.org> wrote:
Check what’s in your ~/.lein/profiles.clj file – that’s usually the cause of bizarre errors that people report with Leiningen.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
With modern versions of CIDER, those dependencies are injected automatically (and with the correct version).
I would advise keeping as little as possible in your profiles.clj file – it’s possibly the number one cause of problems for Leiningen users because people forget they have some plugin or dependency in there and months later it conflicts with some new project they’re working on in weird ways.
Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clo...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clo...@googlegroups.com.