You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Sandor Molnar (Jira)" <ji...@apache.org> on 2024/02/27 11:05:00 UTC
[jira] [Created] (KNOX-3011) Resolve duplicated SL4J on classpath issue
Sandor Molnar created KNOX-3011:
-----------------------------------
Summary: Resolve duplicated SL4J on classpath issue
Key: KNOX-3011
URL: https://issues.apache.org/jira/browse/KNOX-3011
Project: Apache Knox
Issue Type: Improvement
Affects Versions: 2.1.0
Reporter: Sandor Molnar
Assignee: Sandor Molnar
Fix For: 2.1.0
Any time I run a KnoxCLI command, it always starts with the following warning messages displayed on my terminal:
{noformat}
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/Users/sandormolnar/test/knoxGateway/bin/../dep/log4j-slf4j-impl-2.17.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/Users/sandormolnar/test/knoxGateway/bin/../dep/logback-classic-1.2.10.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.apache.logging.slf4j.Log4jLoggerFactory]
{noformat}
The reason behind this warning is that Zookeeper pulls in outdated {{logback}} dependencies which we should exclude.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)