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

Open
#32 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
firebase, java
Domain
backend, databases

Research direction

Start by reproducing the database example as a desktop server with DATABASE_URL and service-account.json configured, then inspect the project’s logging dependencies and configuration. Done means identifying the source of the SLF4J warning and confirming the example runs without the reported logging failure.

Written by the indexing model from the issue text.

Description

I was trying to run database example just to see how it works.
I created a desktop server app for my project, and I changed DATABASE_URL with mine and "service-account.json" with my json.

But I got this in the log:

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.

I visited the link above but got no usable information why this is happening or where it is coming from...

25-04-2020: I checked connecting to database from my android client and it worked just fine. but not on the desktop server.

Dominant language
Java
Stars
241
Forks
148
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from firebase/quickstart-java

All issues in firebase/quickstart-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.