Hi friends,

I am getting the following error and was hoping somebody may be able to
assist:

java.lang.IllegalStateException: spit already refers to:
#'clojure.contrib.duck-streams/spit in namespace: datatool.api (api.clj:1)

I realized it's because clojure.contrib.duck-streams/spit is overriding
clojure.core/spit.
It used to be just a warning when I start jetty, but now it is preventing my
app to run. (jetty starts, but when I try accessing the app in the browser,
I get that error)

Would you have any idea about how to solve it?

FYI what I have in my datatool/api.clj file is:

(ns datatool.api
  (:use compojure.core)
  (:use hiccup.core)
  (:use hiccup.page-helpers)
  (:use [ring.middleware reload stacktrace file file-info])
  (:use datatool.db)
  (:use clojure.contrib.json)
  (:use clojure.contrib.duck-streams))


Thank you,
Victor

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