Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SLF4J Warning: Class path contains multiple SLF4J bindings. #5

Open
tianxiao-ma opened this issue Jan 10, 2015 · 0 comments
Open

SLF4J Warning: Class path contains multiple SLF4J bindings. #5

tianxiao-ma opened this issue Jan 10, 2015 · 0 comments

Comments

@tianxiao-ma
Copy link

使用autoconfig的_maven_插件时,报_SLF4J multiple bindings_警告。

插件版本:

<groupId>com.alibaba.citrus.tool</groupId>
<artifactId>autoconfig-maven-plugin</artifactId>
<version>1.2</version>

警告信息如下:

SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/Users/tianxiao/Dev/m2_repo/com/alibaba/citrus/tool/antx-autoconfig/1.2/antx-autoconfig-1.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/Users/tianxiao/Dev/m2_repo/com/alibaba/citrus/tool/antx-autoexpand/1.2/antx-autoexpand-1.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.

从警告信息中可以看出,是antx-autoconfig-1.2.jarantx-autoexpand-1.2.jar这两个jar同时包含了StaticLoggerBinder这个类导致的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant