Fork me on GitHub
#beginners
<
2015-07-17
>
jeffmk04:07:59

Trying to create a Luminus project via lein with $ lein new luminus foo, which gives me Could not load template, failed with: java.lang.IllegalAccessError: immutant-features does not exist, compiling:(leiningen/new/luminus.clj:1:1)

jeffmk04:07:26

Is it obvious what’s wrong here without context?

jeffmk04:07:43

OS X Yosemite, Leiningen 2.5.1 on Java 1.7.0_25 Java HotSpot(TM) 64-Bit Server VM

jeffmk04:07:55

java version "1.7.0_25" Java(TM) SE Runtime Environment (build 1.7.0_25-b15) Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)

Lambda/Sierra15:07:59

@jeffmk: Sounds like a bug in the template.

Alex Miller (Clojure team)15:07:31

I tried it (os x, same lein, same jdk) and it worked

Alex Miller (Clojure team)15:07:47

perhaps you have custom lein plugins or something?

jeffmk15:07:02

@stuartsierra: Thanks that seems legit. It’s odd though, my Maven repo has Luminus’ lein-template version 2.8.8 (authored 3 days ago [ https://github.com/luminus-framework/luminus-template/commit/d7bee99dfb2911f9a3a329fcf65289c3931ff422 ]), but the immutant-features function was added on March 3 ( https://github.com/luminus-framework/luminus-template/commit/2568cef9559876a60b9677470ddeddb8ae796428 ), version 2.0.2

jeffmk15:07:03

Aw that was it ..

jeffmk15:07:32

Commented out [lein-immutant “1.0.1”] from my .lein/profiles.clj and it worked

jeffmk15:07:42

Fairly new to Clojure and not familiar with the JVM ecosystem at all, so I have to learn things the hard way.

dottedmag23:07:46

Why there is no find-doc in Lein REPL?

dottedmag23:07:03

Ah, my bad. There is.