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

Pentaho BI Platform Tracking | Slawomir Chodnicki | 4 years ago
  1. 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
  2. 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
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

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

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

    ClassNotFoundException with basic usage

    GitHub | 4 years ago | adaptorel
    java.lang.NoClassDefFoundError: scala/math/ScalaNumericAnyConversions

  1. andyglick 2 times, last 6 days ago
  2. richard77 1 times, last 1 week ago
  3. musketyr 2 times, last 1 week ago
  4. michallos 2 times, last 1 week ago
  5. batwalrus76 2 times, last 1 week ago
67 more registered users
28 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$1.run()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    2. java.security.AccessController.doPrivileged(Native Method)
    3. java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    5. java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    5 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. org.pentaho.di
    RunThread.run
    1. org.pentaho.di.trans.steps.googleanalytics.GaInputStep.getNextDataEntry(GaInputStep.java:240)
    2. org.pentaho.di.trans.steps.googleanalytics.GaInputStep.processRow(GaInputStep.java:111)
    3. org.pentaho.di.trans.step.RunThread.run(RunThread.java:60)
    3 frames
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:680)
    1 frame