I’m running Clojure 1.3 with contrib 1.1 in IntelliJ. My program consists of a single line
(use 'clojure.contrib.prxml)
I get the following error upon running
Exception in thread "main" java.lang.RuntimeException: java.lang.NoSuchMethodError: clojure.lang.RestFn.<init>(I)V
In addition to the answers saying that contrib 1.1 is incompatible with clojure 1.3
Taken from here:
As of the date of this reply I’m not sure if there is a version of
clojure.contrib.prxmlthat is compatible withclojure-1.3(Someone please correct me if I’m wrong).So I would suggest using
clojure-1.2.1andclojure-contrib 1.2.0.