Skip to content

multiple SLF4J bindings cause Found multiple defaults.yaml resources #5

@binfeng

Description

@binfeng

Hey, when I was running the code, it appears the following issue, could you please help me on this? Thanks.

admin@storm-258848:~/project/android-live-storm$ java -cp lein classpath storm.starter.TwitterTopology
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/admin/project/android-live-storm/lib/slf4j-log4j12-1.5.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/admin/project/android-live-storm/lib/dev/slf4j-log4j12-1.5.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: The requested version 1.5.8 by your slf4j binding is not compatible with [1.6]
SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further details.
1 [main] ERROR org.apache.zookeeper.server.NIOServerCnxn - Thread Thread[main,5,main] died
java.lang.RuntimeException: Found multiple defaults.yaml resources
at backtype.storm.utils.Utils.findAndReadConfigFile(Utils.java:101)
at backtype.storm.utils.Utils.readDefaultConfig(Utils.java:115)
at backtype.storm.utils.Utils.readStormConfig(Utils.java:119)
at backtype.storm.config$read_storm_config.invoke(config.clj:70)
at backtype.storm.testing$mk_local_storm_cluster.doInvoke(testing.clj:96)
at clojure.lang.RestFn.invoke(RestFn.java:398)
at backtype.storm.LocalCluster$_init.invoke(LocalCluster.clj:10)
at backtype.storm.LocalCluster.(Unknown Source)
at storm.starter.TwitterTopology.main(TwitterTopology.java:53)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions