问答详情
源自:6-1 常见浏览器的启动

请问这是什么原因

Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.collect.ImmutableSet.of(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet;
 at org.openqa.selenium.os.ExecutableFinder.<clinit>(ExecutableFinder.java:37)
 at org.openqa.selenium.os.CommandLine.find(CommandLine.java:107)
 at org.openqa.selenium.firefox.internal.Executable.locateFirefoxBinaryFromPlatform(Executable.java:176)
 at org.openqa.selenium.firefox.internal.Executable.<clinit>(Executable.java:46)
 at org.openqa.selenium.firefox.FirefoxBinary.<init>(FirefoxBinary.java:60)
 at org.openqa.selenium.firefox.FirefoxBinary.<init>(FirefoxBinary.java:56)
 at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:124)
 at com.example.tests.testDriver.main(testDriver.java:10)

提问者:慕妹3382584 2018-11-22 21:35

个回答

  • weixin_慕莱坞3267524
    2019-08-03 12:36:11

    NoSuchMethod