Recommendation: If you see this problem, and you have Eastwood in your ~/.lein/profiles.clj file, upgrade Eastwood to version 0.1.4, or go back to Leiningen 2.3.4.
More details: I have been able to reproduce an exception when running 'lein help new' outside of any Leiningen project in these conditions: Mac OS X 10.8.5 JVM 1.7.0_51 Leiningen 2.4.2 ~/.lein/profiles.clj contains {:user {:plugins [[jonase/eastwood "0.1.2"]]}} or an older Eastwood version The exception goes away if I change to Leiningen 2.3.4, or if I upgrade to Eastwood 0.1.3 or later. I do not know the reason for the exception, but it makes some sense that upgrading to Eastwood 0.1.3 or later makes a difference (0.1.4 is the latest released version). Why? Because a change made in Eastwood version 0.1.3 was to make a copy of all Clojure contrib libraries inside of Eastwood itself, and renaming their namespaces. This helped eliminate some contrib library version number conflicts when using Eastwood on some projects that also used those contrib libraries. Thus Eastwood 0.1.2 depends on data.priority-map, but only indirectly through tools.analyzer.jvm and its dependencies. Below is the output of 'lein deps :tree' for Eastwood 0.1.2, in case it helps anyone track down what is going on: % git clone https://github.com/jonase/eastwood.git % git checkout eastwood-0.1.2 % lein deps :tree [clojure-complete "0.2.3" :exclusions [[org.clojure/clojure]]] [leinjacker "0.4.1"] [org.clojure/core.contracts "0.0.1"] [org.clojure/core.unify "0.5.3"] [org.clojars.brenton/google-diff-match-patch "0.1"] [org.clojure/clojure "1.6.0"] [org.clojure/tools.analyzer.jvm "0.1.0-beta10"] [org.clojure/core.memoize "0.5.6"] [org.clojure/core.cache "0.6.3"] [org.clojure/data.priority-map "0.0.2"] [org.ow2.asm/asm-all "4.1"] [org.clojure/tools.analyzer "0.1.0-beta10"] [org.clojure/tools.macro "0.1.2"] [org.clojure/tools.namespace "0.2.4"] [org.clojure/tools.nrepl "0.2.3" :exclusions [[org.clojure/clojure]]] [org.clojure/tools.reader "0.8.3"] Andy On Wed, Jun 18, 2014 at 9:12 AM, Sean Corfield <s...@corfield.org> wrote: > I am using Eastwood 0.1.2 without problems with Leiningen 2.4.2 but > perhaps Stefan and others are seeing conflicts because of other stuff in > ~/.lein/profiles.clj with Eastwood? > > gvim seems to have isolated it to pulsar. > > Nearly all of the problems I see reported with Leiningen end up being due > to having a lot of stuff in the user profile... > > Sean > > On Jun 18, 2014, at 2:08 AM, Ambrose Bonnaire-Sergeant < > abonnaireserge...@gmail.com> wrote: > > Someone was having the same issue, solved by upgrading Eastwood plugin to > 0.1.2. > > Hope that helps. > > Thanks, > Ambrose > > > On Wed, Jun 18, 2014 at 11:05 AM, Sean Corfield <s...@corfield.org> wrote: > >> "works for me"... >> >> Leiningen 2.4.2; Java build 1.8.0_05-b13; OS X 10.8.5 - lein help new >> works fine outside of a project and also inside the context of a >> project that depends on Clojure 1.6.0. >> >> Are you running lein inside a project or outside? What do you have in >> your profiles.clj file? >> >> Sean >> >> On Tue, Jun 17, 2014 at 10:45 AM, gvim <gvi...@gmail.com> wrote: >> > OS X Mountain Lion / lein 2.4.2 / clojure 1.6.0 / Java(TM) SE >> Runtime >> > Environment (build 1.8.0_05-b13) >> > >> > Running `lein help new` I'm getting an exception including this: >> > >> > Caused by: java.io.FileNotFoundException: Could not locate >> > clojure/data/priority_map__init.class or clojure/data/priority_map.clj >> on >> > classpath: >> > at clojure.lang.RT.load(RT.java:443) >> > >> > Everything was working before the recent Leiningen upgrade. >> > >> > gvim >> > >> > > > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.