java.lang.NoClassDefFoundError: com/google/gson/JsonElement

Google Groups | David Ramer | 8 months ago
  1. 0

    Issue 7104 in selenium: Firefox WebDriver doesn't work with Firefox 28

    Google Groups | 3 years ago | sele...@googlecode.com
    java.lang.NoClassDefFoundError: com/google/common/base/Optional
  2. 0

    Why Selenium using Maven has build errors?

    Stack Overflow | 1 year ago | user1559625
    java.lang.NoClassDefFoundError: com/google/common/base/Optional
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    How do I know which jar files java program needs to run?

    Stack Overflow | 3 years ago | x-yuri
    java.lang.NoClassDefFoundError: org/apache/http/params/HttpParams
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.gson.JsonElement

    at java.net.URLClassLoader$1.run()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    2. java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    3. java.security.AccessController.doPrivileged(Native Method)
    4. java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    5. java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    6. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    7. java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    7 frames
  3. selenium-firefox-driver
    FirefoxDriver.startClient
    1. org.openqa.selenium.firefox.Preferences.readDefaultPreferences(Preferences.java:96)
    2. org.openqa.selenium.firefox.Preferences.<init>(Preferences.java:66)
    3. org.openqa.selenium.firefox.FirefoxProfile.<init>(FirefoxProfile.java:88)
    4. org.openqa.selenium.firefox.FirefoxProfile.<init>(FirefoxProfile.java:78)
    5. org.openqa.selenium.firefox.FirefoxProfile.<init>(FirefoxProfile.java:67)
    6. org.openqa.selenium.firefox.FirefoxDriver.getProfile(FirefoxDriver.java:293)
    7. org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:269)
    7 frames
  4. Selenium
    RemoteWebDriver.<init>
    1. org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:116)
    1 frame
  5. selenium-firefox-driver
    FirefoxDriver.<init>
    1. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:221)
    2. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:216)
    3. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:212)
    4. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:125)
    4 frames
  6. com.common.eTest
    eTestScreenCaptureFactory$Test.main
    1. com.common.eTest.eTestScreenCaptureFactory$Test.main(eTestScreenCaptureFactory.java:221)
    1 frame