java.lang.NoClassDefFoundError: org/apache/storm/guava/collect/Iterables

Google Groups | Unknown author | 1 year ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael and Rafael Fischer Viola . Or join the community to write better ones.
  1. 0

    Stormcrawler ElasticSearch 0.8 Example Problems

    Google Groups | 1 year ago | Unknown author
    java.lang.NoClassDefFoundError: org/apache/storm/guava/collect/Iterables
  2. 0
    samebug tip
    Check if you didn't forget to instantiate your topic in the kafka broker.
  3. 0
    samebug tip
    A few things cause this exception: 1) Check if you have all jars and if they're in the correct path when running. 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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add to your dependencies. To add it, the groupId is com.fasterxml and artifactId is Classmate.
  6. 0
    samebug tip
    NoClassDefFoundError means java has failed to find a class you're trying to instantiate, look if you've added the class you're trying to instantiate to the dependencies.
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.apache.storm.guava.collect. Iterables

    at java.net.URLClassLoader$1.run()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:366)[?:1.7.0_85]
    2. java.net.URLClassLoader$1.run(URLClassLoader.java:355)[?:1.7.0_85]
    3. java.security.AccessController.doPrivileged(Native Method)[?:1.7.0_85]
    4. java.net.URLClassLoader.findClass(URLClassLoader.java:354)[?:1.7.0_85]
    5. java.lang.ClassLoader.loadClass(ClassLoader.java:425)[?:1.7.0_85]
    6. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)[?:1.7.0_85]
    7. java.lang.ClassLoader.loadClass(ClassLoader.java:358)[?:1.7.0_85]
    7 frames
  3. storm-crawler-core
    FetcherBolt.prepare
    1. com.digitalpebble.storm.crawler.bolt.FetcherBolt$FetchItemQueues.<init>(FetcherBolt.java:270)[storm-crawler-elasticsearch-0.8-SNAPSHOT.jar:?]
    2. com.digitalpebble.storm.crawler.bolt.FetcherBolt.prepare(FetcherBolt.java:702)[storm-crawler-elasticsearch-0.8-SNAPSHOT.jar:?]
    2 frames
  4. backtype.storm.daemon
    executor$fn__5694$fn__5707.invoke
    1. backtype.storm.daemon.executor$fn__5694$fn__5707.invoke(executor.clj:757)[storm-core-0.10.0.jar:0.10.0]
    1 frame
  5. backtype.storm
    util$async_loop$fn__545.invoke
    1. backtype.storm.util$async_loop$fn__545.invoke(util.clj:477)[storm-core-0.10.0.jar:0.10.0]
    1 frame
  6. Clojure
    AFn.run
    1. clojure.lang.AFn.run(AFn.java:22)[clojure-1.6.0.jar:?]
    1 frame
  7. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)[?:1.7.0_85]
    1 frame