Skip to content
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

Included guava version 18 conflicts with selenium-java 3.12.0 #12

Open
dougnoel opened this issue Jun 27, 2018 · 5 comments
Open

Included guava version 18 conflicts with selenium-java 3.12.0 #12

dougnoel opened this issue Jun 27, 2018 · 5 comments

Comments

@dougnoel
Copy link
Contributor

When including the traprange jar in a project with selenium-java 3.12.0 in maven, the Guava version 18 conflicts. Attempting to instantiate a ChromeDriver object results in the following error:

java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkState(ZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
at org.openqa.selenium.remote.service.DriverService.findExecutable(DriverService.java:124)
at org.openqa.selenium.chrome.ChromeDriverService.access$000(ChromeDriverService.java:33)
at org.openqa.selenium.chrome.ChromeDriverService$Builder.findDefaultExecutable(ChromeDriverService.java:139)
at org.openqa.selenium.remote.service.DriverService$Builder.build(DriverService.java:335)
at org.openqa.selenium.chrome.ChromeDriverService.createDefaultService(ChromeDriverService.java:89)
at org.openqa.selenium.chrome.ChromeDriver.(ChromeDriver.java:123)

Solution is to use a more recent version of Guava.

@thoqbk
Copy link
Owner

thoqbk commented Jul 16, 2018

@dougnoel I checked, your merge request removed some resource files in _Docs/ result. I must temp rollback it. Can you help to send another merge request?

@dougnoel
Copy link
Contributor Author

dougnoel commented Jul 16, 2018 via email

@dougnoel
Copy link
Contributor Author

dougnoel commented Jul 16, 2018 via email

@thoqbk
Copy link
Owner

thoqbk commented Jul 17, 2018

@dougnoel they're for README.md, and traprange.lastest.jar is for test-command-line.sh

@dougnoel
Copy link
Contributor Author

dougnoel commented Jul 17, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants