Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How to resolve this ? [ERROR] Failed to execute goal on project storm-kafka: Could not resolve dependencies for project org.apache.storm:storm-kafka:jar:2.0.0-SNAPSHOT

avatar
Expert Contributor

The following artifacts could not be resolved: org.apache.kafka:kafka_2.10:jar:0.8, org.apache.kafka:kafka-clients:jar:0.8: Could not find artifact org.apache.kafka:kafka_2.10:jar:0.8 in central (http://repo1.maven.org/maven2/) -> [Help 1] .

I'm trying to run storm-starter and I'm unable to solve this due to dependency issues.

13 REPLIES 13

avatar
Expert Contributor

error-msg.png

Artem . I made the changes to code in storm-kafka. It was a build success for mvn clean install -DskipTests=true && mvn package.

But, I'm getting this following error while I'm trying to execute :

storm jar storm-starter-2.0.0-SNAPSHOT.jar storm.starter.ExclamationTopology Exclamation -c nimbus.host=sandbox.hortonworks.com

avatar
Master Mentor

@keerthana gajarajakumar double check your class name in your code

avatar
Expert Contributor
@Artem Ervits

the class name is Exclamation Topology. I'm not sure what's the issue still.

avatar
Master Mentor

full classname including package name i.e. "com.mypackage.MyClass". Please refer to http://storm.apache.org/documentation/Running-topologies-on-a-production-cluster.html @keerthana gajarajakumar