Giter Site home page Giter Site logo

SLF4J Failed to load about fuzzy-matcher HOT 3 OPEN

intuit avatar intuit commented on September 18, 2024
SLF4J Failed to load

from fuzzy-matcher.

Comments (3)

manishobhatia avatar manishobhatia commented on September 18, 2024 2

Reopening to evaluate this again

from fuzzy-matcher.

unkish avatar unkish commented on September 18, 2024 1

Unfortunately it seems that adding slf4j-simple was a hasted decision.
As per https://www.slf4j.org/manual.html

Note that SLF4J-enabling your library/application implies the addition of only a single mandatory dependency, namely slf4j-api-2.0.9.jar.

What given library also did.

Warning that @CyberCrest experienced was due to missing dependency on their side (library consumer) and should have been fixed by linking with/declaring dependency on desired provider.
After 37bb328 all other users that have provider other than slf4j-simple have now to explicitly exclude it otherwise application will fail to start due to class path containing multiple SLF4J bindings

[BASIC RULE] Embedded components such as libraries or frameworks should not declare a dependency on any SLF4J binding/provider but only depend on slf4j-api. When a library declares a transitive dependency on a specific binding, that binding is imposed on the end-user negating the purpose of SLF4J. Note that declaring a non-transitive dependency on a binding, for example for testing, does not affect the end-user.

Note also that slf4j-simple binding/provider outputs all events to System.err. Only messages of level INFO and higher are printed.

from fuzzy-matcher.

manishobhatia avatar manishobhatia commented on September 18, 2024

Thanks for taking interest in this project, and appreciate bringing the SLF4J issue to our notice.
Will evaluate a fix for this, and include it in one of our next releases.

from fuzzy-matcher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.