Failed to load class “org.slf4j.impl.StaticLoggerBinder“.

created at 12-16-2021 views: 3

Reason for error

The following error was thrown when implementing Shiro authentication today:

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See for further details.


According to the error message thrown, it indicates that the jar package is missing.


Use maven to add the following jar package

<!-- -->
created at:12-16-2021
edited at: 12-29-2021: