我得到了Failed to loadclass "org.slf4j.impl.StaticLoggerBinder"错误。SLF4J: Failed to loadclass "org.slf4j.impl.StaticLoggerBinder".SLF4J: Defaulting to no-operation (NOP) logger implementation
<
如果我使用slf4j,并且类路径不包含记录器实现,那么它将默认使用NOP记录器操作。我没问题。但是,有没有办法抑制最初的错误消息呢?SLF4J: Failed to loadclass "org.slf4j.impl.StaticLoggerBinder".SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http:/
SLF4J: Failed to loadclass "org.slf4j.impl.StaticLoggerBinder".SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html如何解决这个SLF4J: Failed to <em
org.springframework.jdbc.datasource.DriverManagerDataSource setDriverClassName[ERROR] SLF4J: Failed to loadclass "org.slf4j.impl.StaticLoggerBinder".[ERROR] SLF4J: Defaulting to