Software Ninja

The Software Ninja is a professional software developer. Here are some books I find interesting and useful.

Thursday, October 6, 2011

Ugrading to clojure 1.3.0 causes Unable to resolve symbol: print-doc in this context

I upgraded to Clojure 1.3.0 and got this when I tried to run lein swank
Caused by: java.lang.RuntimeException: Unable to resolve symbol: print-doc in this context
        at clojure.lang.Util.runtimeException(Util.java:156)
        at clojure.lang.Compiler.resolveIn(Compiler.java:6720)
        at clojure.lang.Compiler.resolve(Compiler.java:6664)
        at clojure.lang.Compiler.analyzeSymbol(Compiler.java:6625)
        at clojure.lang.Compiler.analyze(Compiler.java:6198)
        ... 93 more
Turns out the culprit is swank-clojure. I had version 1.2.1 but had to upgrade to 1.3.3. Be sure to manually delete the old version as lein deps didn't delete it.

See the topoged project file for an example

Labels: , , ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home