-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adding required packages to avoid NoClassDefFoundError #6
base: master
Are you sure you want to change the base?
Conversation
Hi, Thanks |
Hi, |
Could you please try with the latest version when you get a chance? I can't reproduce the issue. Thanks |
I am sorry for the vague comment - Its been a time since I was testing this and I cannot remember what exactly was wrong. Sure I will reproduce the error and let you know as long as I get my cluster running. I cannot really test your last version though because I am using the 0.9.2-incubating version on top of Mesos. Last time I tried 0.9.3 on Mesos I was getting errors... |
OK so the error is caused because you have the org.slf4j dependency with provided scope for the cluster profile. If you comment this then its fine. Leaving it as is makes sense depending on the cluster setup and you could assume that someone will provide slf4j at runtime. I wasn't so I was getting the error as you can see bellow: And btw sorry I haven't paid much attention to your pom - too much after midnight setups lately! :-/ java -cp /root/testing/storm-kafka-0.8-plus-test/target/storm-kafka-0.8-plus-test-0.2.0-SNAPSHOT-jar-with-dependencies.jar storm.kafka.tools.StormProducer $ACTIVE_MASTER_PRIVATE:9092 Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Logger |
No description provided.