Christofer,

This is a problem with the current version of Leiningen. There are a
couple of ways to work around the problem. Here is one:

Create a new Leiningen project.

lein new delete-me
cd delete-me

Open project.clj and change

:dependencies [[org.clojure/clojure "1.3.0"]]

to

:dependencies [[org.clojure/clojure "1.2.1"]]

Save this file and then run

lein deps

You can now delete this project. The whole point was to get
clojure-1.2.1 into your local maven repository. lein should now work
in ClojureScript One and with any other Clojure 1.3 projects.

This issue will be fixed in Leiningen soon.

Brenton

On Jan 27, 1:05 pm, Christofer Jennings <boz.li...@gmail.com> wrote:
> I get the error below when I run ClojureScript One's 'lein bootsrap'. Any 
> ideas?
>
> I'm pretty new to Clojure. This is my first time using Leiningen and first 
> attempt at using ClojureScript. ... pretty hopeless :-)
>
> Mac OSX 10.7.2
> Clojure 1.3.0
> java version "1.6.0_29"
> Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-11M3527)
> Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)
>
> Exception in thread "main" java.lang.RuntimeException: 
> java.lang.NoSuchMethodError: 
> clojure.lang.KeywordLookupSite.<init>(ILclojure/lang/Keyword;)V
>         at clojure.lang.Util.runtimeException(Util.java:165)
>         at clojure.lang.Compiler.eval(Compiler.java:6476)
>         at clojure.lang.Compiler.eval(Compiler.java:6431)
>         at clojure.core$eval.invoke(core.clj:2795)
>         at clojure.main$eval_opt.invoke(main.clj:296)
>         at clojure.main$initialize.invoke(main.clj:315)
>         at clojure.main$script_opt.invoke(main.clj:339)
>         at clojure.main$main.doInvoke(main.clj:426)
>         at clojure.lang.RestFn.invoke(RestFn.java:457)
>         at clojure.lang.Var.invoke(Var.java:413)
>         at clojure.lang.AFn.applyToHelper(AFn.java:172)
>         at clojure.lang.Var.applyTo(Var.java:518)
>         at clojure.main.main(main.java:37)
> Caused by: java.lang.NoSuchMethodError: 
> clojure.lang.KeywordLookupSite.<init>(ILclojure/lang/Keyword;)V
>         at leiningen.util.paths$native_arch_path.<clinit>(paths.clj:32)
>         at leiningen.util.paths__init.load(Unknown Source)
>         at leiningen.util.paths__init.<clinit>(Unknown Source)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:247)
>         at clojure.lang.RT.loadClassForName(RT.java:2030)
>         at clojure.lang.RT.load(RT.java:417)
>         at clojure.lang.RT.load(RT.java:398)
>         at clojure.core$load$fn__4610.invoke(core.clj:5386)
>         at clojure.core$load.doInvoke(core.clj:5385)
>         at clojure.lang.RestFn.invoke(RestFn.java:408)
>         at clojure.core$load_one.invoke(core.clj:5200)
>         at clojure.core$load_lib.doInvoke(core.clj:5237)
>         at clojure.lang.RestFn.applyTo(RestFn.java:142)
>         at clojure.core$apply.invoke(core.clj:602)
>         at clojure.core$load_libs.doInvoke(core.clj:5271)
>         at clojure.lang.RestFn.applyTo(RestFn.java:137)
>         at clojure.core$apply.invoke(core.clj:602)
>         at clojure.core$require.doInvoke(core.clj:5352)
>         at clojure.lang.RestFn.invoke(RestFn.java:408)
>         at leiningen.core$loading__4414__auto__.invoke(core.clj:1)
>         at leiningen.core__init.load(Unknown Source)
>         at leiningen.core__init.<clinit>(Unknown Source)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:247)
>         at clojure.lang.RT.loadClassForName(RT.java:2030)
>         at clojure.lang.RT.load(RT.java:417)
>         at clojure.lang.RT.load(RT.java:398)
>         at clojure.core$load$fn__4610.invoke(core.clj:5386)
>         at clojure.core$load.doInvoke(core.clj:5385)
>         at clojure.lang.RestFn.invoke(RestFn.java:408)
>         at clojure.core$load_one.invoke(core.clj:5200)
>         at clojure.core$load_lib.doInvoke(core.clj:5237)
>         at clojure.lang.RestFn.applyTo(RestFn.java:142)
>         at clojure.core$apply.invoke(core.clj:602)
>         at clojure.core$load_libs.doInvoke(core.clj:5271)
>         at clojure.lang.RestFn.applyTo(RestFn.java:137)
>         at clojure.core$apply.invoke(core.clj:604)
>         at clojure.core$use.doInvoke(core.clj:5363)
>         at clojure.lang.RestFn.invoke(RestFn.java:408)
>         at user$eval1.invoke(NO_SOURCE_FILE:1)
>         at clojure.lang.Compiler.eval(Compiler.java:6465)
>         ... 11 more
>
> Thanks for all the cool stuff!
> ,chris
>
> On Jan 26, 2012, at 3:34 AM, Sam Aaron wrote:
>
>
>
>
>
>
>
>
>
> > On 25 Jan 2012, at 22:27, Brenton wrote:
>
> >> ClojureScript will continue to change rapidly. We are already
> >> depending on a newer version than the one in Maven. Also, I don't
> >> think that Domina has a release yet.
>
> >> For times when we only need a source dependency and only at
> >> development time, I like this approach to dependencies. I plan to
> >> continue improving support for this in Leiningen and using it as much
> >> as i can.
>
> > Sounds extremely sensible.
>
> >> For more of the rationale, 
> >> seehttps://github.com/brentonashworth/one/wiki/Dependencies.
>
> > Wow. Documentation like this makes me want to shout out with joy!
>
> >> You rock!
>
> > We all rock, and soon we'll all be rocking together at the Clojure/West 
> > Overtone unjam... I can't wait :-)
>
> > Sam
>
> > ---
> >http://sam.aaron.name
>
> > --
> > 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 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

Reply via email to