Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder #7173

Closed
TimothyL96 opened this issue Apr 1, 2022 · 2 comments
Closed

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder #7173

TimothyL96 opened this issue Apr 1, 2022 · 2 comments

Comments

@TimothyL96
Copy link

TimothyL96 commented Apr 1, 2022

Gradle Daemon started in 2 s 594 ms
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.

In build.gradle:
implementation("ch.qos.logback:logback-classic")

  • Micronaut 3.4.1
  • Logback Classic 1.2.10

I'm getting this error same any idea how to fix it though I'm not sure if the problem is from Micronaut or Gradle.

Looks like it's fixed here: #6912 but is still happening for debug.
The logback classic library already has the org.slf4j.impl.StaticLoggerBinder

Steps To Reproduce

With Intellij IDEA, set up run configuration at top right with Gradle run and run it in debug mode.

Environment Information

JDK 17
Windows 10

Example Application

No response

Version

3.4.1

@graemerocher
Copy link
Contributor

can you provide an example that reproduces the issue?

@TimothyL96
Copy link
Author

Looks like the error comes from id("com.gorylenko.gradle-git-properties") version "2.4.0" instead

n0mer/gradle-git-properties#203

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants