On Mon, Nov 21, 2011 at 3:17 AM, ru <soro...@oogis.ru> wrote: > (clojure.stacktrace/print-cause-trace e) > > gives me an error message during compilation: > > java.lang.RuntimeException: java.lang.ClassNotFoundException: > clojure.stacktrace !
You need to require the clojure.stacktrace namespace before you can use it: user=> (require 'clojure.stacktrace) nil user=> (clojure.stacktrace/print-cause-trace (Exception. "foo")) java.lang.Exception: foo at user$eval72.invoke (NO_SOURCE_FILE:3) clojure.lang.Compiler.eval (Compiler.java:6465) ... Some (commonly used) namespaces are loaded by default, other (less widely used) namespaces are not. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ "Perfection is the enemy of the good." -- Gustave Flaubert, French realist novelist (1821-1880) -- 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