In the project.clj I made a mistake, it should be

(defproject Test "1.0.0-SNAPSHOT"
  :dependencies [[org.clojure/clojure "1.3.0-beta1"]
                 [org.clojure/clojure-contrib "1.2.0"]
  :dev-dependencies [[lein-eclipse "1.0.0"]]
  )

I've tried with the standalone contrib and any other variations but it
didn't seem to download from the repository.
On Jul 18, 5:25 pm, Sean Corfield <seancorfi...@gmail.com> wrote:
> The stack trace shows:
>
> Caused by: java.lang.UnsupportedOperationException: Cannot recur
> across try
>        at clojure.lang.Compiler$RecurExpr$Parser.parse(Compiler.java:6045)
>
> This looks like an incompatibility between your code (or something
> you're using) and Clojure 1.3.0. You can't have recur inside try - 
> seehttp://dev.clojure.org/jira/browse/CLJ-31- sounds like it was allowed
> in 1.2 but didn't work properly so now it's been disallowed?
>
> I notice that your project file refers to old contrib 1.2.0 - that
> won't run on Clojure 1.3.0 as far as I can tell (I had to update
> CongoMongo because of 1.3.0 compatibility problems that seemed to stem
> from contrib 1.2.0). You might try:
>
> [org.clojure.contrib/standalone "1.3.0-SNAPSHOT"]
>
> instead but at this point you might need to start looking at the new
> contrib libraries and migrating to those:
>
> http://dev.clojure.org/display/design/Contrib+Library+Names
>
> HTH,
> Sean
>
>
>
> On Mon, Jul 18, 2011 at 4:01 PM, ron peterson <peterson.ron...@gmail.com> 
> wrote:
> > I've upgraded my projects in Eclipse 3.7  to use Clojure 1.3 beta1
> > release, however when I try running it in Eclipse the REPL console
> > throws the following exception. Other versions of Clojure 1.3 alpha
> > gave the same exception: (but clojure 1.2.1 works fine)
>
> ...
> > Exception in thread "main" java.lang.UnsupportedOperationException:
> > Cannot recur across try, compiling:(clojure/tools/nrepl.clj:107)
> ...
> > Caused by: java.lang.UnsupportedOperationException: Cannot recur
> > across try

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