-
-
Notifications
You must be signed in to change notification settings - Fork 669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running in java.lang.NoSuchMethodError: 'com.google.common.collect.ImmutableMap #779
Comments
Are you using Selenium 4? I think this is cause by different versions of
The version bump has already been merged in #714, but the change hasn't been released yet. @bonigarcia could this change be released? 🙇♂️ |
* Update to testbench 8.0.0.beta2 * Exclude guava from WDM dependency Workaround for bonigarcia/webdrivermanager#779 * Chore: update guava version n Startup performance regression test for dev mode
Thanks for reporting. I want to release a new version of WebDriverManager soon, but I cannot say exactly when. |
thanks for your reply. Yes I'm using the latest stable version of selenium. I managed to solve the problem by manually adding guava to the maven dependencies
|
WebDriverManager 5.1.0 is out. I have testes this version with Selenium 4.1.2 and it works properly (I think the guava exclusion is not required anymore). |
Remove exclusion for guava since bonigarcia/webdrivermanager#779 has been fixed and released.
Remove exclusion for guava since bonigarcia/webdrivermanager#779 has been fixed and released.
Remove exclusion for guava since bonigarcia/webdrivermanager#779 has been fixed and released.
Remove exclusion for guava since bonigarcia/webdrivermanager#779 has been fixed and released. Co-authored-by: Guille <alvarezguille@users.noreply.github.com>
Description of the problem: I just upgraded my project to webdrivermanager version 5.0.3 and I am now running in a Running in java.lang.NoSuchMethodError: 'com.google.common.collect.ImmutableMap when creating a new ChromeDriver. The code fails at the call
WebDriver result = new ChromeDriver(options);
.Could you please help me out here? I am quite stuck :(
Browser and version: Google Chrome Version 97.0.4692.99 (Offizieller Build) (64-Bit)
Operating system: Windows 10 64 Bit
WebDriverManager version: 5.0.3
WebDriverManager call:
WebDriverManager traces:
java.lang.NoSuchMethodError: 'com.google.common.collect.ImmutableMap com.google.common.collect.ImmutableMap.of(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)'
The text was updated successfully, but these errors were encountered: