You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Java SDK dependencies include SLF4J bindings which conflict with client bindings #31
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/rai/.m2/repository/ch/qos/logback/logback-classic/1.2.11/logback-classic-1.2.11.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/rai/.m2/repository/org/slf4j/slf4j-simple/1.7.36/slf4j-simple-1.7.36.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 [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
I encountered this when working on an actual client project that uses the Java SDK.
I think instead we should have a dependency on the SLF4J API but should avoid specifying any particular bindings in the Java SDK itself. For example, we should use the dependency:
Activity
Fix for issue #31: Do not specify the SLF4J bindings.
billscheidel-rai commentedon Dec 7, 2022
Note: This issue has been migrated to https://relationalai.atlassian.net/browse/RAI-8133.
This link is only accessible to employees of RelationalAI.
Fix for issue #31: Do not specify the SLF4J bindings. (#32)