0

enter image description here

enter image description here

I'm getting error like Exception in thread main java. NoClassDefFoundError:com/google/common/collect/immutableMap

and above are the full screen shots:

1 Answer 1

1

You need to tell it where the FirefoxDriver exe is located.

e.g.

System.setProperty("webdriver.gecko.driver", locationFirefoxDriver);
4
  • I have provided the Firefox driver exe location, eventhough iam getting the same error Note :- # I have using Firefox 68.0.2 (32-bit) Fire fox Quantum # download the geckodriver-v0.24.0-win64 .# Added gecgo driver path in the environment variable (see the below screenshot)
    – user41039
    Commented Aug 19, 2019 at 11:42
  • Comments there is image upload option.. So I will update screen shot... My previous question itself..
    – user41039
    Commented Aug 19, 2019 at 11:57
  • I have uploaded my updated screen shot in my previous question itself..
    – user41039
    Commented Aug 19, 2019 at 12:07
  • In that case it sounds like the classpath is missing a dependency. Are you running using the selenium-server-standalone.jar? If so is the path to Java / etc definitely correct in the classpath? Or is this Maven?
    – Klynt
    Commented Aug 19, 2019 at 12:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.