I get following message when I start my application, which is simply using the APACHE POI libary, on IntelliJ:
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.
There is a similiar post here:
Spring boot: ERROR StatusLogger Log4j2 could not find a logging implementation
The top answer suggests to add follwing dependencies to pom.xml:
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>${slf4j.version}</version>
</dependency>
If I add this to my pom the message above does not show when i restart my application but i get another warning: [main] WARN org.osjava.sj.SimpleJndi - Mistakenly no root provided?
The application itself doesnt break and runs as intented, but I still wonder how to get rid of the [main] WARN