gpt4 book ai didi

java - Eclipse Maven : SLF4J: Class path contains multiple SLF4J bindings

转载 作者:行者123 更新时间:2023-12-03 15:42:02 28 4
gpt4 key购买 nike

尝试作为Maven Build运行时出现此错误。
有人可以帮助我解决具有约束力的冲突,谢谢。

SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/Applications/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.m2e.maven.runtime.slf4j.simple_1.16.0.20200610-1735/jars/slf4j-simple-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [file:/Applications/Eclipse.app/Contents/Eclipse/configuration/org.eclipse.osgi/5/0/.cp/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.SimpleLoggerFactory]
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/Applications/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.m2e.maven.runtime.slf4j.simple_1.16.0.20200610-1735/jars/slf4j-simple-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [file:/Applications/Eclipse.app/Contents/Eclipse/configuration/org.eclipse.osgi/5/0/.cp/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.SimpleLoggerFactory]

最佳答案

在2020-09版之前的Eclipse中,这似乎是一个错误。我也明白这一点。
cf. https://bugs.eclipse.org/bugs/show_bug.cgi?id=506676
到目前为止,我还没有解决的方法。使用项目的Maven依赖项无法解决问题,因为它是由m2e插件和eclipse引起的,因此超出了项目范围,位于IDE内部。 :-(

关于java - Eclipse Maven : SLF4J: Class path contains multiple SLF4J bindings,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63518376/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com