java.lang.NoClassDefFoundError: storm/trident/spout/ISpoutPartition

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via askubuntu.com by Unknown author

Set the path for java. Try to look it from here.

,
Expert tip

A few things cause this exception:
1) Check if you have all jars and if they're in the correct path.
2) Your classpath might be broken, you can define it in the command line with java -cp yourClassPath or at your IDE if you're using one.

Solutions on the web

via GitHub by khushboo13
, 1 year ago
storm/trident/spout/ISpoutPartition
via GitHub by kramasamy
, 1 year ago
storm/trident/spout/ISpoutPartition
via GitHub by mycFelix
, 1 year ago
storm/trident/spout/ISpoutPartition
via GitHub by khushboo13
, 1 year ago
storm/trident/spout/ISpoutPartition
via Stack Overflow by Mr37037
, 2 years ago
backtype/storm/contrib/signals/spout/BaseSignalSpout
java.lang.NoClassDefFoundError: storm/trident/spout/ISpoutPartition
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at storm.kafka.trident.GlobalPartitionInformation.getOrderedPartitions(GlobalPartitionInformation.java:54)
at storm.kafka.KafkaUtils.calculatePartitionsForTask(KafkaUtils.java:214)
at storm.kafka.ZkCoordinator.refresh(ZkCoordinator.java:80)
at storm.kafka.ZkCoordinator.getMyManagedPartitions(ZkCoordinator.java:69)
at storm.kafka.KafkaSpout.nextTuple(KafkaSpout.java:135)
at backtype.storm.topology.IRichSpoutDelegate.nextTuple(IRichSpoutDelegate.java:63)
at com.twitter.heron.instance.spout.SpoutInstance.produceTuple(SpoutInstance.java:271)
at com.twitter.heron.instance.spout.SpoutInstance.access$100(SpoutInstance.java:42)
at com.twitter.heron.instance.spout.SpoutInstance$1.run(SpoutInstance.java:176)
at com.twitter.heron.common.basics.WakeableLooper.executeTasksOnWakeup(WakeableLooper.java:142)
at com.twitter.heron.common.basics.WakeableLooper.runOnce(WakeableLooper.java:74)
at com.twitter.heron.common.basics.WakeableLooper.loop(WakeableLooper.java:64)
at com.twitter.heron.instance.Slave.run(Slave.java:169)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
Once, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 4 months ago
1645 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.