@JFinal 你好,想跟你请教个问题:
每次启用都会提示SLF4J: Class path contains multiple SLF4J bindings.
网上都说是jar包冲突,但我这提示的冲突文件是同一个。
用jetty启动的。
Starting JFinal 1.9
Starting scanner at interval of 5 seconds.
Starting web server on port: 8888
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/D:/360Cloud/work/jfinalproject/com.swan.backup.server/WebContent/WEB-INF/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/D:/360Cloud/work/jfinalproject/com.swan.backup.server/WebContent/WEB-INF/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
Starting Complete. Welcome To The JFinal World :)
slf4j 是一个日志门面,它对多种日志的存在会自动探测并绑定,如果探测到多种日志的 jar 包存在,那么绑定的时候就会提示有多个绑定,具体情况可看这里: http://www.slf4j.org/codes.html#multiple_bindings for an explanation
引用来自“epiclight”的评论
确实常见报这个,去掉其他重的就不报了