> Hmm, slf4j-log4j12-1.5.11.jar ends up being in the classpath twice (from
> /Users/harryh/foursquare.web/lib_managed/compile and
> /Users/harryh/foursquare.web/target/webapp/WEB-INF/lib).
>
> A quick fix would be to apply exclusion of slf4j-log4j12 in lift-util
> declaration. This will prevent having slf4j-log4j12-1.5.11.jar under
> target/webapp/WEB-INF/lib.

Then I don't get slf4j-log4j12 at all and I get exceptions:

java.lang.NoClassDefFoundError: org/apache/log4j/Logger
        at net.liftweb.util.LogBoot$.net$liftweb$util$LogBoot$
$_logger(Log.scala:207)
        at net.liftweb.util.LogBoot$$anonfun$6.apply(Log.scala:209)
        at net.liftweb.util.LogBoot$$anonfun$6.apply(Log.scala:209)
        at net.liftweb.util.Log$.rootLogger(Log.scala:85)
        at net.liftweb.util.Log$.warn(Log.scala:123)
        at net.liftweb.http.LiftServlet.service(LiftServlet.scala:89)

Maybe this is a weird SBT problem?

-harryh

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.

Reply via email to