Re: [leiningen] Unable to resolve symbol: ex-info in this context, compiling:(leiningen/core/user.clj:87
- From:
- Gregg Reynolds
- Date:
- 2013-09-23 @ 05:21
On Sun, Sep 22, 2013 at 2:37 PM, Phil Hagelberg <phil@hagelb.org> wrote:
>
> Gregg Reynolds writes:
>
> > I tried to follow the instructions in CONTRIBUTING.md but I must be doing
> > something wrong. I cloned the source (version 2.3.3-SNAPSHOT), ran lein
> > bootstrap from leiningen-core, and softlinked bin/lein to ~/bin/lein.
> When
> > I run lein javac from my project, I get
> >
> > Recalculating Leiningen's classpath.
> > Exception in thread "main" java.lang.RuntimeException: Unable to resolve
> > symbol: ex-info in this context, compiling:(leiningen/core/user.clj:87)
>
> Very strange. Can you confirm that `which lein` gives you the lein
> you're expecting? If so try running it with `DEBUG=y lein javac` and
> include the output.
>
I was just about to send it when I realized I had not tried it with my
CLASSPATH unset. It turns out I had put a copy of clojure.jar 1.3 in my
classpath back when I was just getting started with clojure and forgot all
about it once I started using leiningen. ex-info was introduced in 1.4 -
problem solved.
Thanks,
Gregg