java.lang.NoClassDefFoundError: com/google/common/collect/Maps

tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola . Or join the community to write better ones.
  1. 0

    can anyone help me with reading data from google spread sheet in JAVA

    Stack Overflow | 8 months ago | Altamash Shaikh
    java.lang.NoClassDefFoundError: com/google/common/collect/Maps
  2. 0

    Consulter la liste de ses contacts GMail via une application JAVA

    Google Groups | 4 years ago | longrais
    java.lang.NoClassDefFoundError: com/google/common/collect/Maps
  3. 0

    When running a transformation with the GA step, it cannot find its runtime dependencies. It breaks with the following exception: 2013/04/04 10:26:44 - Google Analytics.0 - ERROR (version TRUNK-SNAPSHOT, build 1 from 2013-04-04 09.41.57 by slawo) : Unexpected error 2013/04/04 10:26:44 - Google Analytics.0 - ERROR (version TRUNK-SNAPSHOT, build 1 from 2013-04-04 09.41.57 by slawo) : java.lang.NoClassDefFoundError: com/google/common/collect/Maps 2013/04/04 10:26:44 - Google Analytics.0 - at com.google.gdata.wireformats.AltRegistry.<init>(AltRegistry.java:118) 2013/04/04 10:26:44 - Google Analytics.0 - at com.google.gdata.wireformats.AltRegistry.<init>(AltRegistry.java:100) 2013/04/04 10:26:44 - Google Analytics.0 - at com.google.gdata.client.Service.<clinit>(Service.java:555) 2013/04/04 10:26:44 - Google Analytics.0 - at org.pentaho.di.trans.steps.googleanalytics.GaInputStep.getNextDataEntry(GaInputStep.java:240) 2013/04/04 10:26:44 - Google Analytics.0 - at org.pentaho.di.trans.steps.googleanalytics.GaInputStep.processRow(GaInputStep.java:111) 2013/04/04 10:26:44 - Google Analytics.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:60) 2013/04/04 10:26:44 - Google Analytics.0 - at java.lang.Thread.run(Thread.java:680) 2013/04/04 10:26:44 - Google Analytics.0 - Caused by: java.lang.ClassNotFoundException: com.google.common.collect.Maps 2013/04/04 10:26:44 - Google Analytics.0 - at java.net.URLClassLoader$1.run(URLClassLoader.java:202) 2013/04/04 10:26:44 - Google Analytics.0 - at java.security.AccessController.doPrivileged(Native Method) 2013/04/04 10:26:44 - Google Analytics.0 - at java.net.URLClassLoader.findClass(URLClassLoader.java:190) 2013/04/04 10:26:44 - Google Analytics.0 - at java.lang.ClassLoader.loadClass(ClassLoader.java:306) 2013/04/04 10:26:44 - Google Analytics.0 - at java.lang.ClassLoader.loadClass(ClassLoader.java:247) 2013/04/04 10:26:44 - Google Analytics.0 - ... 7 more This blocks PDI-9587 It works fine on the 4.4.1 branch.

    Pentaho BI Platform Tracking | 4 years ago | Slawomir Chodnicki
    java.lang.NoClassDefFoundError: com/google/common/collect/Maps
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When running a transformation with the GA step, it cannot find its runtime dependencies. It breaks with the following exception: 2013/04/04 10:26:44 - Google Analytics.0 - ERROR (version TRUNK-SNAPSHOT, build 1 from 2013-04-04 09.41.57 by slawo) : Unexpected error 2013/04/04 10:26:44 - Google Analytics.0 - ERROR (version TRUNK-SNAPSHOT, build 1 from 2013-04-04 09.41.57 by slawo) : java.lang.NoClassDefFoundError: com/google/common/collect/Maps 2013/04/04 10:26:44 - Google Analytics.0 - at com.google.gdata.wireformats.AltRegistry.<init>(AltRegistry.java:118) 2013/04/04 10:26:44 - Google Analytics.0 - at com.google.gdata.wireformats.AltRegistry.<init>(AltRegistry.java:100) 2013/04/04 10:26:44 - Google Analytics.0 - at com.google.gdata.client.Service.<clinit>(Service.java:555) 2013/04/04 10:26:44 - Google Analytics.0 - at org.pentaho.di.trans.steps.googleanalytics.GaInputStep.getNextDataEntry(GaInputStep.java:240) 2013/04/04 10:26:44 - Google Analytics.0 - at org.pentaho.di.trans.steps.googleanalytics.GaInputStep.processRow(GaInputStep.java:111) 2013/04/04 10:26:44 - Google Analytics.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:60) 2013/04/04 10:26:44 - Google Analytics.0 - at java.lang.Thread.run(Thread.java:680) 2013/04/04 10:26:44 - Google Analytics.0 - Caused by: java.lang.ClassNotFoundException: com.google.common.collect.Maps 2013/04/04 10:26:44 - Google Analytics.0 - at java.net.URLClassLoader$1.run(URLClassLoader.java:202) 2013/04/04 10:26:44 - Google Analytics.0 - at java.security.AccessController.doPrivileged(Native Method) 2013/04/04 10:26:44 - Google Analytics.0 - at java.net.URLClassLoader.findClass(URLClassLoader.java:190) 2013/04/04 10:26:44 - Google Analytics.0 - at java.lang.ClassLoader.loadClass(ClassLoader.java:306) 2013/04/04 10:26:44 - Google Analytics.0 - at java.lang.ClassLoader.loadClass(ClassLoader.java:247) 2013/04/04 10:26:44 - Google Analytics.0 - ... 7 more This blocks PDI-9587 It works fine on the 4.4.1 branch.

    Pentaho BI Platform Tracking | 4 years ago | Slawomir Chodnicki
    java.lang.NoClassDefFoundError: com/google/common/collect/Maps
  6. 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.

  1. osvzs 4 times, last 7 days ago
  2. olle.hallin 3 times, last 3 days ago
  3. rp 1 times, last 1 week ago
  4. Dunmer 1 times, last 2 weeks ago
  5. poroszd 1 times, last 3 weeks ago
78 more registered users
17 unregistered visitors
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

    com.google.common.collect.Maps

    at java.net.URLClassLoader.findClass()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader.findClass(Unknown Source)
    2. java.lang.ClassLoader.loadClass(Unknown Source)
    3. sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    4. java.lang.ClassLoader.loadClass(Unknown Source)
    4 frames
  3. Google Data
    Service.<clinit>
    1. com.google.gdata.wireformats.AltRegistry.<init>(AltRegistry.java:118)
    2. com.google.gdata.wireformats.AltRegistry.<init>(AltRegistry.java:100)
    3. com.google.gdata.client.Service.<clinit>(Service.java:555)
    3 frames
  4. googlesheet
    gsheet.main
    1. googlesheet.gsheet.main(gsheet.java:24)
    1 frame