--- original message ---
It looks to me as though solr-core is not the only artifact with that
dependency.  The first thing I would do is examine the output of 'mvn
dependency:tree' to see what has dragged log4j-slf4j-impl in even when
it is excluded from solr-core. 
--- end of original message ---

Hi, that's the first thing I did and *only* solr-core is pulling in 
log4j-slf4j-impl, but there is more weirdness to this.  When I build as a WAR 
project, then version 2.11.0 of in log4j-slf4j-impl is pulled in which results 
in "multiple implementations" warning and is non-fatal.  

However, when building as a spring-boot executable jar, for some reason, it 
pulls in version 2.7 rather then 2.11.0 resulting in fatal 
"ClassNotFoundException: org.apache.logging.log4j.util.ReflectionUtil"

Thanks.

Here is the dependency tree:

com.elsevier:<spring-boot executable-jar>:jar:1.1.7
+- org.springframework.boot:spring-boot-starter-web:jar:1.5.6.RELEASE:compile
|  +- org.springframework.boot:spring-boot-starter:jar:1.5.6.RELEASE:compile
|  |  +- org.springframework.boot:spring-boot:jar:1.5.6.RELEASE:compile
|  |  +- 
org.springframework.boot:spring-boot-autoconfigure:jar:1.5.6.RELEASE:compile
|  |  +- 
org.springframework.boot:spring-boot-starter-logging:jar:1.5.6.RELEASE:compile
|  |  +- org.springframework:spring-core:jar:4.3.10.RELEASE:compile
|  |  \- org.yaml:snakeyaml:jar:1.17:runtime
|  +- 
org.springframework.boot:spring-boot-starter-tomcat:jar:1.5.6.RELEASE:compile
|  |  +- org.apache.tomcat.embed:tomcat-embed-core:jar:8.5.16:compile
|  |  +- org.apache.tomcat.embed:tomcat-embed-el:jar:8.5.16:compile
|  |  \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:8.5.16:compile
|  +- org.hibernate:hibernate-validator:jar:5.3.5.Final:compile
|  |  +- javax.validation:validation-api:jar:1.1.0.Final:compile
|  |  +- org.jboss.logging:jboss-logging:jar:3.3.1.Final:compile
|  |  \- com.fasterxml:classmate:jar:1.3.3:compile
|  +- com.fasterxml.jackson.core:jackson-databind:jar:2.8.9:compile
|  |  +- com.fasterxml.jackson.core:jackson-annotations:jar:2.8.0:compile
|  |  \- com.fasterxml.jackson.core:jackson-core:jar:2.8.9:compile
|  +- org.springframework:spring-web:jar:4.3.10.RELEASE:compile
|  |  +- org.springframework:spring-aop:jar:4.3.10.RELEASE:compile
|  |  +- org.springframework:spring-beans:jar:4.3.10.RELEASE:compile
|  |  \- org.springframework:spring-context:jar:4.3.10.RELEASE:compile
|  \- org.springframework:spring-webmvc:jar:4.3.10.RELEASE:compile
|     \- org.springframework:spring-expression:jar:4.3.10.RELEASE:compile
+- cglib:cglib-nodep:jar:3.0:runtime
+- org.apache.commons:commons-lang3:jar:3.1:compile
+- org.jdom:jdom2:jar:2.0.6:compile
+- com.example.somelibjar:jar:1.1.9:compile
|  +- org.apache.lucene:lucene-core:jar:7.5.0:compile
|  +- com.healthline:qpe:jar:1.1.5:compile
|  |  +- org.springframework:spring-context-support:jar:4.3.10.RELEASE:compile
|  |  +- org.springframework:spring-jdbc:jar:4.3.10.RELEASE:compile
|  |  |  \- org.springframework:spring-tx:jar:4.3.10.RELEASE:compile
|  |  \- org.apache.logging.log4j:log4j-core:jar:2.7:compile
|  +- com.exampe:somelib2:jar:1.1.4:compile
|  |  +- org.apache.solr:solr-core:jar:7.5.0:compile
|  |  |  +- org.apache.lucene:lucene-analyzers-common:jar:7.5.0:compile
|  |  |  +- org.apache.lucene:lucene-analyzers-kuromoji:jar:7.5.0:compile
|  |  |  +- org.apache.lucene:lucene-analyzers-nori:jar:7.5.0:compile
|  |  |  +- org.apache.lucene:lucene-analyzers-phonetic:jar:7.5.0:compile
|  |  |  +- org.apache.lucene:lucene-backward-codecs:jar:7.5.0:compile
|  |  |  +- org.apache.lucene:lucene-classification:jar:7.5.0:compile
|  |  |  +- org.apache.lucene:lucene-codecs:jar:7.5.0:compile
|  |  |  +- org.apache.lucene:lucene-expressions:jar:7.5.0:compile
|  |  |  +- org.apache.lucene:lucene-grouping:jar:7.5.0:compile
|  |  |  +- org.apache.lucene:lucene-highlighter:jar:7.5.0:compile
|  |  |  +- org.apache.lucene:lucene-join:jar:7.5.0:compile
|  |  |  +- org.apache.lucene:lucene-memory:jar:7.5.0:compile
|  |  |  +- org.apache.lucene:lucene-misc:jar:7.5.0:compile
|  |  |  +- org.apache.lucene:lucene-queries:jar:7.5.0:compile
|  |  |  +- org.apache.lucene:lucene-queryparser:jar:7.5.0:compile
|  |  |  +- org.apache.lucene:lucene-sandbox:jar:7.5.0:compile
|  |  |  +- org.apache.lucene:lucene-spatial-extras:jar:7.5.0:compile
|  |  |  +- org.apache.lucene:lucene-spatial3d:jar:7.5.0:compile
|  |  |  +- org.apache.lucene:lucene-suggest:jar:7.5.0:compile
|  |  |  +- com.carrotsearch:hppc:jar:0.8.1:compile
|  |  |  +- 
com.fasterxml.jackson.dataformat:jackson-dataformat-smile:jar:2.8.9:compile
|  |  |  +- com.github.ben-manes.caffeine:caffeine:jar:2.3.5:compile
|  |  |  +- com.google.guava:guava:jar:14.0.1:compile
|  |  |  +- com.google.protobuf:protobuf-java:jar:3.1.0:compile
|  |  |  +- com.lmax:disruptor:jar:3.4.0:compile
|  |  |  +- com.tdunning:t-digest:jar:3.1:compile
|  |  |  +- commons-codec:commons-codec:jar:1.10:compile
|  |  |  +- commons-configuration:commons-configuration:jar:1.6:compile
|  |  |  +- commons-fileupload:commons-fileupload:jar:1.3.3:compile
|  |  |  +- commons-lang:commons-lang:jar:2.6:compile
|  |  |  +- dom4j:dom4j:jar:1.6.1:compile
|  |  |  +- info.ganglia.gmetric4j:gmetric4j:jar:1.0.7:compile
|  |  |  +- io.dropwizard.metrics:metrics-core:jar:3.1.5:compile
|  |  |  +- io.dropwizard.metrics:metrics-ganglia:jar:3.1.5:compile
|  |  |  +- io.dropwizard.metrics:metrics-graphite:jar:3.1.5:compile
|  |  |  +- io.dropwizard.metrics:metrics-jetty9:jar:3.2.6:compile
|  |  |  +- io.dropwizard.metrics:metrics-jvm:jar:3.2.6:compile
|  |  |  +- javax.servlet:javax.servlet-api:jar:3.1.0:compile
|  |  |  +- joda-time:joda-time:jar:2.9.9:compile
|  |  |  +- org.antlr:antlr4-runtime:jar:4.5.1-1:compile
|  |  |  +- org.apache.calcite:calcite-core:jar:1.13.0:compile
|  |  |  +- org.apache.calcite:calcite-linq4j:jar:1.13.0:compile
|  |  |  +- org.apache.calcite.avatica:avatica-core:jar:1.10.0:compile
|  |  |  +- org.apache.commons:commons-exec:jar:1.3:compile
|  |  |  +- org.apache.commons:commons-math3:jar:3.6.1:compile
|  |  |  +- org.apache.curator:curator-client:jar:2.8.0:compile
|  |  |  +- org.apache.curator:curator-framework:jar:2.8.0:compile
|  |  |  +- org.apache.curator:curator-recipes:jar:2.8.0:compile
|  |  |  +- org.apache.hadoop:hadoop-annotations:jar:2.7.4:compile
|  |  |  |  \- jdk.tools:jdk.tools:jar:1.8:system
|  |  |  +- org.apache.hadoop:hadoop-auth:jar:2.7.4:compile
|  |  |  +- org.apache.hadoop:hadoop-common:jar:2.7.4:compile
|  |  |  +- org.apache.hadoop:hadoop-hdfs:jar:2.7.4:compile
|  |  |  +- org.apache.htrace:htrace-core:jar:3.2.0-incubating:compile
|  |  |  +- org.apache.httpcomponents:httpclient:jar:4.5.3:compile
|  |  |  +- org.apache.httpcomponents:httpcore:jar:4.4.6:compile
|  |  |  +- org.apache.httpcomponents:httpmime:jar:4.5.3:compile
|  |  |  +- org.apache.logging.log4j:log4j-1.2-api:jar:2.7:compile
|  |  |  +- org.apache.logging.log4j:log4j-slf4j-impl:jar:2.7:compile 
<<<===========
|  |  |  +- org.apache.zookeeper:zookeeper:jar:3.4.11:compile
|  |  |  +- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile
|  |  |  +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile
|  |  |  +- org.codehaus.janino:commons-compiler:jar:2.7.6:compile
|  |  |  +- org.codehaus.janino:janino:jar:2.7.8:compile
|  |  |  +- org.codehaus.woodstox:stax2-api:jar:3.1.4:compile
|  |  |  +- org.codehaus.woodstox:woodstox-core-asl:jar:4.4.1:compile
|  |  |  +- org.eclipse.jetty:jetty-continuation:jar:9.4.6.v20170531:compile
|  |  |  +- org.eclipse.jetty:jetty-deploy:jar:9.4.6.v20170531:compile
|  |  |  +- org.eclipse.jetty:jetty-http:jar:9.4.6.v20170531:compile
|  |  |  +- org.eclipse.jetty:jetty-io:jar:9.4.6.v20170531:compile
|  |  |  +- org.eclipse.jetty:jetty-jmx:jar:9.4.6.v20170531:compile
|  |  |  +- org.eclipse.jetty:jetty-rewrite:jar:9.4.6.v20170531:compile
|  |  |  |  \- org.eclipse.jetty:jetty-client:jar:9.4.6.v20170531:compile
|  |  |  +- org.eclipse.jetty:jetty-security:jar:9.4.6.v20170531:compile
|  |  |  +- org.eclipse.jetty:jetty-server:jar:9.4.6.v20170531:compile
|  |  |  +- org.eclipse.jetty:jetty-servlet:jar:9.4.6.v20170531:compile
|  |  |  +- org.eclipse.jetty:jetty-servlets:jar:9.4.6.v20170531:compile
|  |  |  +- org.eclipse.jetty:jetty-util:jar:9.4.6.v20170531:compile
|  |  |  +- org.eclipse.jetty:jetty-webapp:jar:9.4.6.v20170531:compile
|  |  |  +- org.eclipse.jetty:jetty-xml:jar:9.4.6.v20170531:compile
|  |  |  +- org.locationtech.spatial4j:spatial4j:jar:0.7:compile
|  |  |  +- org.noggit:noggit:jar:0.8:compile
|  |  |  +- org.ow2.asm:asm:jar:5.1:compile
|  |  |  +- org.ow2.asm:asm-commons:jar:5.1:compile
|  |  |  +- org.restlet.jee:org.restlet:jar:2.3.0:compile
|  |  |  +- org.restlet.jee:org.restlet.ext.servlet:jar:2.3.0:compile
|  |  |  \- org.rrd4j:rrd4j:jar:3.2:compile
|  |  +- net.htmlparser.jericho:jericho-html:jar:2.5:compile
|  |  +- commons-collections:commons-collections:jar:3.2.2:compile
|  |  +- commons-beanutils:commons-beanutils:jar:1.9.3:compile
|  |  +- org.codehaus.jackson:jackson-smile:jar:1.8.5:compile
|  |  +- org.codehaus.jackson:jackson-xc:jar:1.8.5:compile
|  |  +- org.codehaus.jackson:jackson-mrbean:jar:1.8.5:compile
|  |  +- org.json:json:jar:20140107:compile
|  |  +- commons-httpclient:commons-httpclient:jar:3.1:compile
|  |  +- javax.mail:mail:jar:1.4.7:compile
|  |  |  \- javax.activation:activation:jar:1.1:compile
|  |  +- net.sf.ehcache:ehcache-core:jar:2.4.7:compile
|  |  +- bouncycastle:bcprov-jdk15:jar:133:compile
|  |  +- net.sourceforge.csvjdbc:csvjdbc:jar:1.0.34:compile
|  |  +- org.apache.jena:apache-jena-libs:pom:3.9.0:compile
|  |  |  +- org.apache.jena:jena-tdb:jar:3.9.0:compile
|  |  |  |  \- org.apache.jena:jena-arq:jar:3.9.0:compile
|  |  |  |     +- org.apache.jena:jena-core:jar:3.9.0:compile
|  |  |  |     |  +- org.apache.jena:jena-iri:jar:3.9.0:compile
|  |  |  |     |  \- org.apache.jena:jena-base:jar:3.9.0:compile
|  |  |  |     |     +- org.apache.commons:commons-csv:jar:1.5:compile
|  |  |  |     |     +- org.apache.commons:commons-compress:jar:1.17:compile
|  |  |  |     |     \- com.github.andrewoma.dexx:collection:jar:0.7:compile
|  |  |  |     +- org.apache.jena:jena-shaded-guava:jar:3.9.0:compile
|  |  |  |     +- com.github.jsonld-java:jsonld-java:jar:0.12.1:compile
|  |  |  |     +- org.apache.httpcomponents:httpclient-cache:jar:4.5.5:compile
|  |  |  |     \- org.apache.thrift:libthrift:jar:0.10.0:compile
|  |  |  +- org.apache.jena:jena-tdb2:jar:3.9.0:compile
|  |  |  |  \- org.apache.jena:jena-dboe-trans-data:jar:3.9.0:compile
|  |  |  |     +- org.apache.jena:jena-dboe-transaction:jar:3.9.0:compile
|  |  |  |     |  \- org.apache.jena:jena-dboe-base:jar:3.9.0:compile
|  |  |  |     \- org.apache.jena:jena-dboe-index:jar:3.9.0:compile
|  |  |  \- org.apache.jena:jena-rdfconnection:jar:3.9.0:compile
|  |  \- org.apache.jena:jena-jdbc-driver-bundle:jar:3.9.0:compile
|  |     +- org.apache.jena:jena-jdbc-driver-mem:jar:3.9.0:compile
|  |     |  \- org.apache.jena:jena-jdbc-core:jar:3.9.0:compile
|  |     +- org.apache.jena:jena-jdbc-driver-remote:jar:3.9.0:compile
|  |     \- org.apache.jena:jena-jdbc-driver-tdb:jar:3.9.0:compile
|  +- com.healthline:hl-cm:jar:1.1.2:compile
|  |  +- org.apache.poi:poi:jar:3.7:compile
|  |  +- org.apache.commons:commons-math:jar:2.0:compile
|  |  +- jaxen:jaxen:jar:1.1.6:compile
|  |  \- net.sf.jazzy:jazzy-core:jar:0.5.2:compile
|  +- com.elsevier:ckcommons:jar:1.1.5:compile
|  |  +- commons-cli:commons-cli:jar:1.2:compile
|  |  +- org.apache.solr:solr-solrj:jar:5.5.4:compile
|  |  +- com.amazonaws:aws-java-sdk-core:jar:1.11.487:compile
|  |  |  +- software.amazon.ion:ion-java:jar:1.0.2:compile
|  |  |  \- 
com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.8.9:compile
|  |  +- com.amazonaws:aws-java-sdk-s3:jar:1.11.487:compile
|  |  |  +- com.amazonaws:aws-java-sdk-kms:jar:1.11.487:compile
|  |  |  \- com.amazonaws:jmespath-java:jar:1.11.487:compile
|  |  \- com.google.code.gson:gson:jar:2.8.1:compile
|  +- commons-io:commons-io:jar:1.4:compile
|  \- net.sourceforge.collections:collections-generic:jar:4.01:compile
+- com.oracle:ojdbc-jdk8:jar:12.2.0.1:compile
+- com.oracle:ucp-jdk8:jar:12.2.0.1:compile
+- org.apache.logging.log4j:log4j-api:jar:2.11.0:compile
+- org.slf4j:slf4j-api:jar:1.7.25:compile
+- org.slf4j:jcl-over-slf4j:jar:1.7.25:compile
+- org.slf4j:log4j-over-slf4j:jar:1.7.25:compile
+- org.slf4j:jul-to-slf4j:jar:1.7.25:compile
+- ch.qos.logback:logback-classic:jar:1.1.3:compile
+- ch.qos.logback:logback-core:jar:1.1.3:compile
+- ch.qos.logback:logback-access:jar:1.1.3:compile
+- commons-logging:commons-logging:jar:1.2:provided
+- commons-logging:commons-logging-api:jar:1.1:provided
+- log4j:log4j:jar:1.2.17:provided
+- junit:junit:jar:4.11:test
|  \- org.hamcrest:hamcrest-core:jar:1.3:test
\- org.mockito:mockito-core:jar:2.23.0:test
   +- net.bytebuddy:byte-buddy:jar:1.9.0:test
   +- net.bytebuddy:byte-buddy-agent:jar:1.9.0:test
   \- org.objenesis:objenesis:jar:2.6:test
On 1/16/20, 9:09 AM, "Mark H. Wood" <mw...@iupui.edu> wrote:

    *** External email: use caution ***
    
    
    

Reply via email to