GithubHelp home page GithubHelp logo

Caused by: java.lang.LinkageError: loader constraint violation: when resolving method "org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/ILoggerFactory;" about gretty HOT 6 CLOSED

akhikhl avatar akhikhl commented on August 21, 2024
Caused by: java.lang.LinkageError: loader constraint violation: when resolving method "org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/ILoggerFactory;"

from gretty.

Comments (6)

akhikhl avatar akhikhl commented on August 21, 2024

OK, I'll have a look at the problem and find a solution.

from gretty.

akhikhl avatar akhikhl commented on August 21, 2024

The problem is reproducible on jdk-7, not reproducible on jdk-8.
Fix for jdk-7:

runtime 'ch.qos.logback:logback-classic:1.1.2'

from gretty.

visola avatar visola commented on August 21, 2024

Thanks for looking into this. I was stuck for a few days until I finally managed to scope down the problem. Do you know what exactly this is all about? Adding logback sounds more like a work around. If someone would like to use some other logging implementation with SLF4J, this may not be an option.

from gretty.

akhikhl avatar akhikhl commented on August 21, 2024

That was a quick and dirty solution, yes. I'll look deeper into dependencies of your project to understand what's the root of the problem.

from gretty.

alexejk avatar alexejk commented on August 21, 2024

I'm actually getting this problem on JDK-8.. it was working perfectly until today and now the whole hell broke loose and it doesn't seem to be working for me anymore :(

Did you have a chance to dig into this more?

from gretty.

akhikhl avatar akhikhl commented on August 21, 2024

@alexejk, please open a new issue and post the complete log (if inconvenient to post it on github, send it over email).

from gretty.

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.