Hello friends,
I am new in clojure, i want to create document in couch db using
clojure. i got some error please help me.
my code is
(ns web-app.views.welcome
(:require [clj-file-utils.core :as f-util]
[noir.content.getting-started]
[noir.response :as resp])
(:use [noir.core :only [defpage]]
[web-app.models.couch]
[com.ashafa.clutch :as clutch]))
(clutch/set-clutch-defaults! {:host "1.2.3.4"
:port 5984
:username "a"
:password "a"
:language "javascript"})
(with-db "zxc" (create-document {:fname "Rushi" :lname "Patil"}))
i got this error in REPL
#<NoSuchMethodError java.lang.NoSuchMethodError:
clojure.lang.Numbers.isPos(I)Z>
before week code works fine.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en