You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Alexey Popov (JIRA)" <ji...@apache.org> on 2017/11/03 12:20:00 UTC

[jira] [Created] (IGNITE-6828) Confusing messages "SLF4J: Failed to load class" at Ignite start

Alexey Popov created IGNITE-6828:
------------------------------------

             Summary: Confusing messages "SLF4J: Failed to load class" at Ignite start
                 Key: IGNITE-6828
                 URL: https://issues.apache.org/jira/browse/IGNITE-6828
             Project: Ignite
          Issue Type: Bug
      Security Level: Public (Viewable by anyone)
          Components: general
    Affects Versions: 2.1
            Reporter: Alexey Popov
            Assignee: Alexey Popov


How to reproduce:
1. build Ignite
2. go to examples\
3. run: mvn exec:java -Dexec.mainClass="org.apache.ignite.examples.ExampleNodeStartup"

you will see the following confusing output:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

SLF4J dependency comes from org.springframework.data:spring-data-commons:

[INFO] +- org.apache.ignite:ignite-spring-data:jar:2.3.0-SNAPSHOT:compile
[INFO] |  +- (org.apache.ignite:ignite-core:jar:2.3.0-SNAPSHOT:compile - omitted for duplicate)
[INFO] |  +- (org.apache.ignite:ignite-indexing:jar:2.3.0-SNAPSHOT:compile - omitted for duplicate)
[INFO] |  +- org.springframework.data:spring-data-commons:jar:1.13.1.RELEASE:compile
[INFO] |  |  +- (org.springframework:spring-core:jar:4.3.7.RELEASE:compile - omitted for duplicate)
[INFO] |  |  +- (org.springframework:spring-beans:jar:4.3.7.RELEASE:compile - omitted for duplicate)
[INFO] |  |  +- org.slf4j:slf4j-api:jar:1.7.24:compile
[INFO] |  |  \- org.slf4j:jcl-over-slf4j:jar:1.7.24:runtime
[INFO] |  |     \- (org.slf4j:slf4j-api:jar:1.7.24:runtime - omitted for duplicate)
[INFO] |  \- (org.apache.ignite:ignite-spring:jar:2.3.0-SNAPSHOT:compile - omitted for duplicate)

We should remove this dependency because it is confusing and does not affects to Ignite logging functionality




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)