I am grateful to you for testing. Your feedback sent me down a different
road which lead me to the answer. I decided the repl was for some reason
not working, so I thought I would run "lein uberjar" and see how the app
ran, but when I ran "lein uberjar" I saw that I had an error that kept the
app from compiling. When I fixed that I restarted the repl, and then things
worked correctly at the repl.
My setup is nearly identical to yours.
On Friday, February 7, 2014 1:22:42 AM UTC-5, Andy Fingerhut wrote:
>
> I tried to reproduce this behavior with the following environment, and
> didn't get this error. You may want to provide similar information for
> your environment in case it helps someone else track down the problem:
>
> Mac OS X 10.8.5
> Oracle Java 1.7.0_15
> Clojure 1.5.1
> Leiningen 2.3.4
> The following in my project.clj dependencies: [me.raynes/fs "1.4.3"]
>
> Andy
>
>
> On Thu, Feb 6, 2014 at 9:11 PM, larry google groups
>
> > wrote:
>
>> I imagine this question has been asked a million times before, but I can
>> not find the answer.
>>
>> I was looking at Raynes/fs library:
>>
>> https://github.com/Raynes/fs/blob/master/src/me/raynes/fs.clj
>>
>> I wanted to check and see if "iterate-dir" returned a seq of strings
>> (paths) or a seq of File objects (or a seq of something else). So at the
>> repl I:
>>
>> (use 'me.raynes.fs)
>>
>> and, as a test, I run this on my home directory on my Mac:
>>
>> (def all-from-dir (iterate-dir "/Users/larry/"))
>>
>> but I get:
>>
>> NoClassDefFoundError me/raynes/fs$iterzip$fn__8508 me.raynes.fs/iterzip
>> (fs.clj:329)
>>
>> While "iterate-dir" is public, "iterzip" is private. I assume I am
>> getting this error because "iterzip" is private, but how am I suppose to
>> work around that? I am calling a public function, why is it not able to
>> call a private function from the namespace where I imported it from?
>>
>> I also tried:
>>
>> (require '[me.raynes.fs :as fsss])
>>
>> (def all-from-dir (fsss/iterate-dir "/Users/larry/"))
>>
>> but I got the same error.
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clo...@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+u...@googlegroups.com
>> 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 unsubscribe from this group and stop receiving emails from it, send an
>> email to clojure+u...@googlegroups.com .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
--
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
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.