error loading noir.response

51 views
Skip to first unread message

Brian Craft

unread,
Apr 14, 2013, 12:16:50 AM4/14/13
to clj-...@googlegroups.com
Trying to use or require noir.response gives me this:

Caused by: java.lang.ClassNotFoundException: com.fasterxml.jackson.core.JsonFactory

and a few hundred lines of stack trace. Any suggestions?

Version 1.3.0-beta3.

Lei

unread,
Apr 14, 2013, 12:21:53 AM4/14/13
to clj-...@googlegroups.com
noir.response requires Jackson JSON library.

You can use "lein deps :tree" to show library dependency tree.



--
You received this message because you are subscribed to the Google Groups "clj-noir" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clj-noir+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Brian Craft

unread,
Apr 14, 2013, 11:24:18 AM4/14/13
to clj-...@googlegroups.com
Doesn't lein generally take care of that? Running "lein deps" doesn't fetch any more libs. It seems to think all the requirements are present. Here are the Jackson deps listed by lein:

 [noir "1.3.0-beta3"]
   [cheshire "3.0.0"]
     [org.codehaus.jackson/jackson-core-asl "1.9.5"]
     [org.codehaus.jackson/jackson-smile "1.9.5"]
 

json isn't listed. Could this mean the dependencies aren't correctly specified in one of the libs?

Chris Granger

unread,
Apr 14, 2013, 11:26:25 AM4/14/13
to clj-noir
Try upgrading to 1.3.0 instead of using the beta.

Cheers,
Chris.

Brian Craft

unread,
Apr 14, 2013, 11:48:09 AM4/14/13
to clj-...@googlegroups.com
Thanks, that did it! I didn't realize there was an 1.3.0. 
Reply all
Reply to author
Forward
0 new messages