Hi all, I am currently running the example in apache beam project and got some
issue that I could not fix. I used the maven compile and here is what I noticed
in building project:SLF4J: Class path contains multiple SLF4J bindings.SLF4J:
Found binding in
[jar:file:/home/claireyuan/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J:
Found binding in
[jar:file:/home/claireyuan/.m2/repository/org/slf4j/slf4j-log4j12/1.7.5/slf4j-log4j12-1.7.5.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 check online with
this problem and did some modification to the pom.xml file. Here is my
dependency with SLF4J: <dependency> <groupId>org.apache.beam</groupId>
<artifactId>beam-sdks-java-core</artifactId>
<exclusions> <exclusion> <groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId> </exclusion>
<exclusion> <groupId>log4j</groupId>
<artifactId>log4j</artifactId> </exclusion> </exclusions>Also with
something added: <dependency> <groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId> <version>1.2.3</version>
</dependency>But seems like this problem still not solved. Would any of you
provide any suggestion with this?
Claire