2
 Error SLF4J: Class path contains multiple SLF4J bindings.
| Error SLF4J: Found binding in [jar:file:/home/katarina/.sdkman/candidates/grails/2.4.5/dist/grails-plugin-log4j-2.4.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
| Error SLF4J: Found binding in [jar:file:/home/katarina/Workspace/myApp/target/work/tomcat/webapps/ROOT/WEB-INF/lib/grails-plugin-log4j-2.4.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
| Error SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
| Error SLF4J: Actual binding is of type [org.slf4j.impl.GrailsSlf4jLoggerFactory]

错误说它发现了多个绑定

我的应用程序:/home/katarina/Workspace/myApp/target/work/tomcat/webapps/ROOT/WEB-INF/lib/grails-plugin-log4j-2.4.5.jar!/org/slf4j/impl/StaticLoggerBinder.class

sdkman /home/katarina/.sdkman/candidates/grails/2.4.5/dist/grails-plugin-log4j-2.4.5.jar!/org/slf4j/impl/StaticLoggerBinder.class:。

我该如何解决这个问题?我想我应该至少排除其中一个,但如何?

4

0 回答 0