Selenium'da yeniyim. Selenium WebDriver'ı kullanırken bazı sorunlar yaşıyorum.java.lang.NoSuchMethodError: com.google.common.io.Closeables.closeQuietly (Ljava/io/Kapatılabilir;) V
Ben www.filpkart.com
Benim Kod
package com.screen;
import org.openqa.selenium.*;
import org.openqa.selenium.firefox.FirefoxDriver;
public class HTMLParseExample {
public static void main(String[] args) {
WebDriver driver = new FirefoxDriver();
//Launch website
driver.get("http://www.flipkart.com");
driver.close();
}
}
aşağıda belirtilen Bu Hata karşı karşıyayım gibi Selenyum WebDriver kullanarak web sitesini açmak istiyorum.
Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.io.Closeables.closeQuietly(Ljava/io/Closeable;)V
at org.openqa.selenium.firefox.internal.ClasspathExtension.writeTo(ClasspathExtension.java:60)
at org.openqa.selenium.firefox.FirefoxProfile.installExtensions(FirefoxProfile.java:504)
at org.openqa.selenium.firefox.FirefoxProfile.layoutOnDisk(FirefoxProfile.java:482)
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:76)
at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:142)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:80)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:121)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:77)
at com.screen.HTMLParseExample.main(HTMLParseExample.java:15)
Yardım edin, Teşekkürler.
, bu soruyu kontrol dışı bir varolan yöntemi aradığınız bir sorun var gibi görünüyor benim için çalıştı http://stackoverflow.com/questions/22116299/ çözme-nosuchmethoderror-istisna-attı-kullanarak-yansıma –