spout端报错:
java.lang.NoClassDefFoundError: org/json/simple/JSONValue
at torm.kafka.DynamicBrokersReader.getLeaderFo(DynamicBrokersReader.java:117
at-storm.kafka.DynamicBrokersReader.getBrokerInfo(DynamicBrokersReader.java:68)
at storm.kafka.trident.ZkBrokerReader.<init>(ZkBrokerReader.java:42)
at storm.kafka.KafkaUtils.makeBrokerReader(KafkaUtils.java:57)
at storm.kafka.KafkaSpout.open(KafkaSpout.java:87)
at org.apache.storm.daemon.executor$fn__6505$fn__6520.invoke(executor.clj:607)
at org.apache.storm.util$async_loop$fn__554.invoke(util.clj:482)
at clojure.lang.AFn.run(AFn.java:22)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: org.json.simple.JSONValue
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 9 more
bolt:
java.lang.ExceptionInInitializerError
at kafka.metrics.KafkaMetricsGroup$class.newMeter(KafkaMetricsGroup.scala:79)
at kafka.producer.ProducerStats.newMeter(ProducerStats.scala:23)
at kafka.producer.ProducerStats.<init>(ProducerStats.scala:25)
at kafka.producer.ProducerStatsRegistry$$anonfun$1.apply(ProducerStats.scala:34) at kafka.producer.ProducerStatsRegistry$$anonfun$1.apply(ProducerStats.scala:34) at kafka.utils.Pool.getAndMaybePut(Pool.scala:61)
at kafka.producer.ProducerStatsRegistry$.getProducerStats(ProducerStats.scala:38) at kafka.producer.async.DefaultEventHandler.<init>(DefaultEventHandler.scala:48) at kafka.producer.Producer.<init>(Producer.scala:60)
at kafka.javaapi.producer.Producer.<init>(Producer.scala:26)
at storm.kafka.bolt.KafkaBolt.prepare(KafkaBolt.java:86)
at org.apache.storm.daemon.executor$fn__6573$fn__6586.invoke(executor.clj:798) at org.apache.storm.util$async_loop$fn__554.invoke(util.clj:482)
at clojure.lang.AFn.run(AFn.java:22)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalStateException: Shutdown in progress
at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66)
at java.lang.Runtime.addShutdownHook(Runtime.java:211)
at com.yammer.metrics.Metrics.<clinit>(Metrics.java:21) ... 15 more
<p>Java一处编译,到处报错!</p>
<p>兄弟,对于你发的日志,我看都不想看~~~~~~~~~能不能分个行???</p>
<p>这是因为确实了一个simple的json包</p>
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。