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

Problem: slf4j: failed to load class “org. Slf4j. Impl. Staticloggerbinder” error occurs when creating Maven project with idea for unit test

solution: add dependency in pom.xml. Because it is in the test environment, the scope tag is test. If it is running in main, you can change test.


Read More: