Here is the error stack:

2015-02-16 01:32:29,699 ERROR selenium.Http - Failed to get protocol output

java.lang.NoClassDefFoundError: Could not initialize class
org.apache.http.impl.conn.ManagedHttpClientConnectionFactory

        at
org.apache.http.impl.conn.PoolingHttpClientConnectionManager$InternalConnectionFactory.<init>(PoolingHttpClientConnectionManager.java:493)

        at
org.apache.http.impl.conn.PoolingHttpClientConnectionManager.<init>(PoolingHttpClientConnectionManager.java:149)

        at
org.apache.http.impl.conn.PoolingHttpClientConnectionManager.<init>(PoolingHttpClientConnectionManager.java:138)

        at
org.apache.http.impl.conn.PoolingHttpClientConnectionManager.<init>(PoolingHttpClientConnectionManager.java:114)

        at
org.openqa.selenium.remote.internal.HttpClientFactory.getClientConnectionManager(HttpClientFactory.java:68)

        at
org.openqa.selenium.remote.internal.HttpClientFactory.<init>(HttpClientFactory.java:54)

        at
org.openqa.selenium.remote.HttpCommandExecutor.<init>(HttpCommandExecutor.java:98)

        at
org.openqa.selenium.remote.HttpCommandExecutor.<init>(HttpCommandExecutor.java:81)

        at
org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:93)

        at
org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:246)

        at
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:114)

        at
org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:191)

        at
org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:186)

        at
org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:182)

        at
org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:95)

        at
org.apache.nutch.protocol.selenium.HttpWebClient.getHtmlPage(HttpWebClient.java:53)

        at
org.apache.nutch.protocol.selenium.HttpResponse.readPlainContent(HttpResponse.java:199)

        at
org.apache.nutch.protocol.selenium.HttpResponse.<init>(HttpResponse.java:161)

        at org.apache.nutch.protocol.selenium.Http.getResponse(Http.java:56)

        at
org.apache.nutch.protocol.http.api.HttpBase.getProtocolOutput(HttpBase.java:206)

        at
org.apache.nutch.fetcher.Fetcher$FetcherThread.run(Fetcher.java:758)

Best regards,
Mohammad Al-Mohsin

On Mon, Feb 16, 2015 at 1:57 AM, Mohammad Al-Mohsin <[email protected]> wrote:

> Hi,
>
> I'm trying to use Nutch-Selenium plugin with Nutch 1.10 trunk on
> Mac Yosemite.
>
> I applied the patch from NUTCH-1933
> <https://issues.apache.org/jira/browse/NUTCH-1933>, installed X11, and
> included protocol-selenium plugin in nutch-site config file.
>
> Now when I start crawling, at the first fetch, I see that Firefox is
> opened and closed immediately and I get this error in the console:
>
> fetch of http://www.mywebsite.com failed with:
> java.lang.NoClassDefFoundError: Could not initialize class
> org.apache.http.impl.conn.ManagedHttpClientConnectionFactory
>
> Any idea how to fix this error?
>
> Best regards,
> Mohammad Al-Mohsin
>

Reply via email to