No matching method: encodeBase64String

61 views
Skip to first unread message

aidanf

unread,
Jul 27, 2012, 1:19:17 PM7/27/12
to clojure...@googlegroups.com

Hi all, 

I'm going through the clutch chapter in Clojure Programming and I'm running into some problems. I'm trying to add clutch to an existing project.

I've added [com.ashafa/clutch "0.4.0-SNAPSHOT"] to project.clj, run lein deps and started a repl.

Then I run:

(use '[com.ashafa.clutch :only (create-database with-db put-document get-document delete-document) :as clutch])

and I get

java.lang.IllegalArgumentException: No matching method: encodeBase64String (http_client.clj:121) 

Anyone seen this error and know how I can fix it?

I tried the stable version (0.3.1) and got the same error. I also tried with both clojure 1.3 and 1.4. Interestingly, if I start a brand new project, add clutch and run a repl, then the above command works ok. So maybe it's a conflict with a clutch dependency and a lib my project is using? Here's what's in my projects lib directory: https://gist.github.com/bccf573b943672bb3574 (I have :disable-implicit-clean set to true in project.clj as I'm using some libs that aren't on clojars.)

Thanks,

AF

Reply all
Reply to author
Forward
0 new messages