error on compile

2011-10-07 Thread Vivek Khurana
Hi!

 When I try to compile a class from repl I am getting following error

user= (compile 'xyz.modules.accounts.accounts)
java.lang.ClassNotFoundException: clojure.contrib.json.Read_JSON_From
(json.clj:167)

I have tried searching the docs but I cant find
clojure.contrib.json.Read_JSON_From anywhere . Is it some dependancy
that I am missing ? I am using clojure 1.2.0 and clojure.contrib
1.2.0 .

regards
Vivek

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


Re: error on compile

2011-10-07 Thread Sunil S Nandihalli
Without actually seeing the code, only guess I can make is that you are
probably using vars with underscores in them. While I do not know for sure
that it is not allowed, I do know that they are typically avoided. Usually,
I think, something like
read-json-from
gets internaly converted to
read_json_from

This is just guess. If you post more code, it is easier to help.
Sunil.

On Sat, Oct 8, 2011 at 10:07 AM, Vivek Khurana hiddenharm...@gmail.comwrote:

 Hi!

  When I try to compile a class from repl I am getting following error

 user= (compile 'xyz.modules.accounts.accounts)
 java.lang.ClassNotFoundException: clojure.contrib.json.Read_JSON_From
 (json.clj:167)

 I have tried searching the docs but I cant find
 clojure.contrib.json.Read_JSON_From anywhere . Is it some dependancy
 that I am missing ? I am using clojure 1.2.0 and clojure.contrib
 1.2.0 .

 regards
 Vivek

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