NC log4j報錯

SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/F:/NC/nchome/home/modules/uapec/lib/slf4j-log4j12-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/F:/NC/nchome/home/modules/oamc/META-INF/lib/tika-app-1.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/F:/NC/nchome/home/modules/uapss/META-INF/lib/tika-app-1.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
 

三個包衝突 解決:刪了後面兩個包tika-app-1.1.jar

log4j:WARN No appenders could be found for logger (nc.pubitf.wx.api.token.TokenUtil).
log4j:WARN Please initialize the log4j system properly.

未解決但不影響 參考https://blog.csdn.net/weixin_42516207/article/details/98078253

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章