Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
v1.5.3
-
None
-
None
Description
When I run command line:
./bin/kylin.sh org.apache.kylin.source.kafka.util.KafkaSampleProducer --topic kylin_demo --broker sandbox:6667 —delay 0
error:
Exception in thread "main" java.lang.NoClassDefFoundError: kafka/producer/ProducerConfig
at org.apache.kylin.source.kafka.util.KafkaSampleProducer.main(KafkaSampleProducer.java:102)
Caused by: java.lang.ClassNotFoundException: kafka.producer.ProducerConfig
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 1 more