Bug #7698
Exclude SLF4J jars in d1_solr_extensions.jar
0%
Description
Dave reported:
when running “service solr status” on a CN, I see a complaint about multiple SLF4J bindings:
(12:05:53 PM) vieglais: SLF4J: Class path contains multiple SLF4J bindings.
(12:05:53 PM) vieglais: SLF4J: Found binding in jar:file:/var/solr/server/solr-webapp/webapp/WEB-INF/lib/d1_solr_extensions.jar!/org/slf4j/impl/StaticLoggerBinder.class vieglais: SLF4J: Found binding in jar:file:/var/solr/server/lib/ext/slf4j-log4j12-1.7.7.jar!/org/slf4j/impl/StaticLoggerBinder.class vieglais: SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
(12:05:56 PM) vieglais: SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
looks like a class conflict due to the shaded d1_solr_extensions.jar that includes SLF4J and solr jetty that also includes SLF4J.
try excluding SLF4J jars in d1_solr_extensions.jar.