On Jun 5, 2009, at 9:16 AM, BrianS wrote:
<CompilerException java.lang.IllegalArgumentException: No matching method found: println for class java.io.OutputStreamWriter (NO_SOURCE_FILE:0)>
It sounds like you're running the code in an environment where *err* is bound to an OutputStreamWriter. The default binding is to a PrintWriter which does provide println.
I see that the API page describes *err* as a Writer whose default binding is a PrintWriter wrapping System/err.
http://clojure.org/API#toc15clojure.contrib.sql is written as if *err* being bound to a PrintWriter were a requirement. I think that's reasonable and I would like to see the API page change to require that.
It's reasonable to bind *err* to anything you like for a short time within code you control, but a long-running Clojure environment, one that provides a REPL, should mirror of the default environment so Clojure code doesn't need to worry about using (.println *err* ...) without its own wrapper.
--Steve
smime.p7s
Description: S/MIME cryptographic signature