Skip to content

fix: Fix "SLF4J: Failed to load ..." issue by adding slf4j-simple#935

Merged
eed3si9n merged 2 commits intofoundweekends:developfrom
eed3si9n:wip/slf4j
Dec 13, 2024
Merged

fix: Fix "SLF4J: Failed to load ..." issue by adding slf4j-simple#935
eed3si9n merged 2 commits intofoundweekends:developfrom
eed3si9n:wip/slf4j

Conversation

@eed3si9n
Copy link
Copy Markdown
Member

@eed3si9n eed3si9n commented Dec 13, 2024

Fixes #931

Problem

sbt new raquo/scalajs.g8
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.

This is due to JGit adding slf4j-api but removed the binding at some point.

Solution

This adds slf4j-simple 1.7 to the depdency.

@eed3si9n eed3si9n requested a review from xuwei-k as a code owner December 13, 2024 06:03
@eed3si9n eed3si9n changed the title Reproduce slf4j issue fix: Fix "SLF4J: Failed to load ..." issue by adding slf4j-simple Dec 13, 2024
@eed3si9n eed3si9n merged commit 9f67dc6 into foundweekends:develop Dec 13, 2024
@eed3si9n eed3si9n deleted the wip/slf4j branch December 13, 2024 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

SLF4J warning (2024)

2 participants