Sandbar 0.2.4 depends on Clojure 1.1.0 and Clojure Contrib 1.1.0. If
your project only depends on Clojure 1.2.0 and not Contrib 1.2.0 (and
you are using an automated build tool) then you may end up with
Contrib 1.1.0 in your classpath. This will cause the problem you are
experiencing. To fix the problem, you will need to add Contrib 1.2 as
a dependency. Sandbar 0.2.4 was AOT compiled but I tested it against
1.2 and it does work. Meikel is correct that there is no reason for
this library to be AOT compiled so I have created version 0.2.5 where
this is the case.

Version 0.3.0-SNAPSHOT is being developed against 1.2 and has some
improvements related to 1.2 and the newer versions of Ring and
Compojure. It is currently a moving target and being such, there is a
lack of documentation but if you would like to use it you can refer
the example applications at 
http://github.com/brentonashworth/sandbar/tree/master/src/sandbar/example/.

Finally, I have just created a user group for Sandbar in order to
field questions like this: http://groups.google.com/group/sandbar-library

Brenton

On Aug 20, 2:13 am, Nebojsa Stricevic <nebojsa.strice...@gmail.com>
wrote:
> I'm building a Clojure web app that I would like to migrate to 1.2.
> I've tried to empty source files and then delete one by one :use
> and :require, and I think error is connected with Sandbar lib (0.2.4).
> REPL prints this error:
>
> java.lang.NoSuchMethodError: clojure.lang.RestFn.<init>(I)V (core.clj:
> 1)
>
> Greets,
>
> --
> Neboj¹a Strièeviæ

-- 
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