java.lang.NoClassDefFoundError: com/google/common/primitives/Ints

qtpselenium.com | 8 months ago
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

    Training • View topic - Data Provider in TestNG gives a class not found exception

    qtpselenium.com | 8 months ago
    java.lang.NoClassDefFoundError: com/google/common/primitives/Ints
  2. 0

    noClassDefFound error with testNG

    Stack Overflow | 8 months ago | Vandee
    java.lang.NoClassDefFoundError: com/google/common/primitives/Ints
  3. 0

    Creating Sample Data Reading Test In WebDriver Data Driven Framework

    software-testing-tutorials-automation.com | 6 months ago
    java.lang.NoClassDefFoundError: com/google/common/primitives/Ints
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Guice class not found with the Eclipse plugin

    GitHub | 6 years ago | nguillaumin
    java.lang.NoClassDefFoundError: com/google/inject/internal/Lists
  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 1 week ago
  2. olle.hallin 3 times, last 5 days ago
  3. rp 1 times, last 2 weeks ago
  4. Dunmer 1 times, last 3 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.primitives.Ints

    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. TestNG
    RemoteTestNG.main
    1. org.testng.internal.annotations.JDK15TagFactory.createDataProviderTag(JDK15TagFactory.java:335)
    2. org.testng.internal.annotations.JDK15TagFactory.createTag(JDK15TagFactory.java:59)
    3. org.testng.internal.annotations.JDK15AnnotationFinder.findAnnotation(JDK15AnnotationFinder.java:217)
    4. org.testng.internal.annotations.JDK15AnnotationFinder.findAnnotation(JDK15AnnotationFinder.java:111)
    5. org.testng.internal.Parameters.findDataProvider(Parameters.java:326)
    6. org.testng.internal.Parameters.findDataProvider(Parameters.java:261)
    7. org.testng.internal.Parameters.handleParameters(Parameters.java:418)
    8. org.testng.internal.Invoker.handleParameters(Invoker.java:1240)
    9. org.testng.internal.Invoker.createParameters(Invoker.java:980)
    10. org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1070)
    11. org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
    12. org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
    13. org.testng.TestRunner.privateRun(TestRunner.java:746)
    14. org.testng.TestRunner.run(TestRunner.java:600)
    15. org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
    16. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
    17. org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
    18. org.testng.SuiteRunner.run(SuiteRunner.java:268)
    19. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    20. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
    21. org.testng.TestNG.runSuitesSequentially(TestNG.java:1264)
    22. org.testng.TestNG.runSuitesLocally(TestNG.java:1189)
    23. org.testng.TestNG.runSuites(TestNG.java:1104)
    24. org.testng.TestNG.run(TestNG.java:1076)
    25. org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:126)
    26. org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:152)
    27. org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:57)
    27 frames