forgiving-keyset bug

35 views
Skip to first unread message

Ben Schlingelhof

unread,
Jun 14, 2012, 4:24:06 PM6/14/12
to clojure...@googlegroups.com
Hi everyone,
a clojure-newbie here, just learning to navigate. First things first: I'm mightily impressed with clutch. I've used couchdb quite a bit in javascript and two different Smalltalks. Clutch is the smoothest experience I've had in any language.

Now the problem: when I try to get-view, this happens:

#<RuntimeException java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/ashafa/clutch/utils$forgiving_keyset$fn__247>

I'm in a leiningen-created project and use clutch 0.4.0-SNAPSHOT and clojure 1.4.0

Am I missing something here?

Cheers,
Ben

Chas Emerick

unread,
Jun 14, 2012, 5:58:26 PM6/14/12
to clojure...@googlegroups.com
Hi Ben,

Glad you're enjoying the library! :-)

It sounds like you are AOT-compiling your project? If so, I'm guessing there are some stale/conflicting class files in your project. Try running a `lein clean`, and starting fresh — and, if that works, consider disabling AOT-compilation unless you really, really need it.

Cheers,

- Chas

Ben Schlingelhof

unread,
Jun 14, 2012, 6:48:26 PM6/14/12
to clojure...@googlegroups.com
Hi Chas,

yes, that worked like a charm. I never did any explicit AOT-compilation, but I may have done a lein uberjar in a different project. Also I use marginalia, that seems to do some kind of compilation step. The whole java compilation cache thing is still somewhat opaque to me but I'll get it in time, I'm sure. Thanks for the quick help.

Cheers,
Ben

--
Ben Schlingelhof

Reply all
Reply to author
Forward
0 new messages