環境細節:IBM工作燈6.2多SLF4J綁定
IBM工作燈6.2
甲骨文的Java版本 「1.7.0_67」
自由8.5.5.1
[err] SLF4J: Class path contains multiple SLF4J bindings.
[err] SLF4J: Found binding in [wsjar:file:/C:/IBM/WebSphere/Liberty/usr/servers/WorklightServer/workarea/org.eclipse.osgi/bundles/69/data/cache/com.ibm.ws.app.manager_
gen_a7f562a4-562a-4d33-8c23-98b948303abb/.cache/WEB-INF/lib/worklight-jee-library.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[err] SLF4J: Found binding in [wsjar:file:/C:/IBM/WebSphere/Liberty/usr/shared/resources/myapp/lib/worklight-jee-library.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[err] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
閱讀鏈接。 Class path contains multiple SLF4J bindings
但在我的情況下,我沒有添加庫。
爲了測試衝突,我已經從usr \ shared \ resources \ myapp中刪除了worklight-jee-library.jar,它工作正常。
但這不是解決方案。請建議一種解決方法。