On 05/03/10 1:05 AM, harryh wrote:
OK, did that (like so in sbt):

override def ivyXML =
     <dependencies>
       <dependency org="net.lag" name="smile" rev="0.8.12">
         <exclude module="slf4j-jdk14"/>
       </dependency>
     </dependencies>

I'm also getting this error when running my app from within sbt just
javarebel (possibly this isn't a big issue, but the error is
disconcerting):

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.

- Indrajit


SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/Users/harryh/foursquare.web/
lib_managed/compile/slf4j-log4j12-1.5.11.jar!/org/slf4j/impl/
StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/Users/harryh/foursquare.web/target/
webapp/WEB-INF/lib/slf4j-log4j12-1.5.11.jar!/org/slf4j/impl/
StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.

On Mar 4, 2:33 pm, Indrajit Raychaudhuri<[email protected]>  wrote:
You can modify smile dependency declaration to exclude slf4j-jdk14 as thus:

      <dependency>
        <groupId>net.lag</groupId>
        <artifactId>smile</artifactId>
        <exclusions>
          <exclusion>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-jdk14</artifactId>
          </exclusion>
        </exclusions>
      </dependency>

Or alternately, apply the exclusion of slf4j-log4j12 in the lift-util
dependency section if you prefer to use slf4j-jdk14 instead.

Cheers, Indrajit

On 05/03/10 12:51 AM, harryh wrote:



Smile (a scala memcached client) is pulling in slf4j-jdk14-1.5.2.jar,
and lift-util is pulling in slf4j-log4j12-1.5.11.jar.

What is the best way to deal with this conflict?

-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