I'm seeing this as well.

I think the problem is that the dependencies in the project.clj are
pinned to compatible versions of the clojure and clojure-contrib jars,
but not so in the pom.xml.  So anything using project.clj (just
leiningen?) will work, but anything that tries to use the pom directly
still gets newer, incompatible jars.

I tried editing the pom.xml to use the same versions as project.clj,
but didn't have any luck - it looked like maven was finding a
dependency to the latest jars somewhere else and kept pulling those
in.

Maybe someone with a higher maven tolerance can take a look...

- greg



On Sun, May 2, 2010 at 4:35 PM, gnash <[email protected]> wrote:
> I still seem to be having this problem with the latest from github.
>
> This is what is listed in my project.clj
>
> [org.clojure/clojure
>                  "1.2.0-master-20100430.160229-59"]
>
> Yields:
>
> Clojure 1.2.0-master-SNAPSHOT
> user=> (require 'labrepl)
> java.lang.ExceptionInInitializerError (control.clj:9)
>
> I am using IntelliJ 9.0.2 CE/Java 1.6.0 on OS X.
>
> Thanks.
>
> On May 1, 2:13 am, Karsten Lang <[email protected]> wrote:
>> It works, thank you!
>>
>> (Initially, I had missed the bright idea of just using a version a few
>> days old .. but then again, then it would be a few more days before
>> problems were found)
>>
>> /klang
>>
>> On Fri, Apr 30, 2010 at 3:35 PM, Stuart Halloway
>>
>>
>>
>>
>>
>> <[email protected]> wrote:
>> > I will check in a fix later this morning.
>>
>> > Stu
>>
>> >> klang <[email protected]> writes:
>>
>> >>> laprepl starts up with the following error and localhost:8080 does not
>> >>> respond
>>
>> >>> kl...@feersum:~/projects/labrepl$ script/repl
>> >>> Clojure 1.2.0-master-SNAPSHOT
>> >>> java.lang.ExceptionInInitializerError (control.clj:9)
>>
>> >> Looks like labrepl is not locked to a particular version of Clojure and
>> >> so is using the very latest bleeding edge.  Seems to be a conflict with
>> >> some of the newly added functions and compojure.  Hopefully Stuart will
>> >> fix this soon, but in meantime you can just use a version of Clojure
>> >> that's a few days old.  To do this simply:
>>
>> >> 1.  Edit labrepl/project.clj.  Change the version for
>> >> org.clojure/clojure from
>>
>> >>  "1.2.0-master-SNAPSHOT"
>>
>> >> to
>>
>> >>  "1.2.0-master-20100422.180114-42"
>>
>> >> 2. Remove the jar:
>>
>> >>  $ rm lib/clojure-1.2.0-*
>>
>> >> 3. Download the selected version:
>>
>> >>  $ lein deps
>>
>> >> 4. Try again running the repl again:
>>
>> >>  $ script/repl
>>
>> >> Hopefully that should do the trick.
>>
>> >> --
>> >> You received this message because you are subscribed to the Google
>> >> Groups "Clojure" group.
>> >> To post to this group, send email to [email protected]
>> >> Note that posts from new members are moderated - please be patient with
>> >> your first post.
>> >> To unsubscribe from this group, send email to
>> >> [email protected]
>> >> 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 [email protected]
>> > Note that posts from new members are moderated - please be patient with 
>> > your
>> > first post.
>> > To unsubscribe from this group, send email to
>> > [email protected]
>> > 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 [email protected]
>> Note that posts from new members are moderated - please be patient with your 
>> first post.
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group 
>> athttp://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 [email protected]
> Note that posts from new members are moderated - please be patient with your 
> first post.
> To unsubscribe from this group, send email to
> [email protected]
> 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 [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to