[英]java.lang.NoSuchMethodError: com.google.common.collect.ImmutableSet.of([Ljava/lang/Object;) with Selenium and Java
I am learning selenium with eclipse. 我正在学习日食硒。 I have added required external .jar files but still getting the error while executing the test case.
我已经添加了必需的外部.jar文件,但是在执行测试用例时仍然出现错误。
I got this error when also having the maven surefire plugin in the pom file. 当在pom文件中也有maven surefire插件时,出现此错误。 After removing that dependencies, the chrome driver run fine.
删除依赖项后,chrome驱动程序可以正常运行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.