are you aot compiling? If yes delete all the calss files and
re-compile...also there is no reason to require it unless you alias it
to something... a common one would be (:require [clojure.java.io :as
io])...personally, for clojure.java.io, I just use the fully qualified
name most of the times....
Jim
On 25/10/12 13:58, larry google groups wrote:
Hmm, how do I include this? I have a strange error. I had an app that
was working fine, and then I added this one line at the the :require
block in core.clj:
(:require clojure.string clojure.java.io who-is-logged-in.memory_display
[clojure.data.json :as json]
[clojure.java.io])
I added that last line, and now, when I compile, I get:
Caused by: java.io.FileNotFoundException: Could not locate
clojure/data/json__init.class or clojure/data/json.clj on classpath:
This makes no sense to me, since the JSON was working fine the last
time I compiled.
On Wednesday, October 24, 2012 11:11:11 PM UTC-4, yangsx wrote:
clojure.java.io/file <http://clojure.java.io/file>
On Thu, Oct 25, 2012 at 11:08 AM, larry google groups
<[email protected] <javascript:>> wrote:
>
> I want to use clojure.contrib.java-utils/file. I am using
Clojure 1.3 and
> leinengen. What is the modern equivalent of
clojure.contrib.java-utils/file?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to [email protected]
<javascript:>
> 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] <javascript:>
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
<http://groups.google.com/group/clojure?hl=en>
--
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
--
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