Small and furry, well ... definitely furry. [source]

Saturday, November 20, 2010

Fixing "The LogFactory attribute maven.log must be set." error

I use Clojure at work to poke around stuff. I copied all the needed jars to a directory ($cljlib) and run Clojure with
rlwrap java -Djava.ext.dirs=$cljlib clojure.main

However when trying to debug some JdbcTemplate code, I ran into the following error:
The LogFactory attribute maven.log must be set.

Seems like we need to set maven.log logger, here's the code to do it:

No comments:

Post a Comment