Getting error while running the code in Eclipse - firefox 43.0.4 , Selenium 2.53.0

339 views
Skip to first unread message

vasanth kumar

unread,
Mar 30, 2016, 6:33:13 AM3/30/16
to Selenium Users
Hi Guys ,

i am getting the following error when running my code , Please help me resolve this .

Exception in thread "main" java.lang.NoSuchMethodError: org.apache.http.impl.conn.CPool.setValidateAfterInactivity(I)V
    at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.<init>(PoolingHttpClientConnectionManager.java:176)
    at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.<init>(PoolingHttpClientConnectionManager.java:158)
    at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.<init>(PoolingHttpClientConnectionManager.java:149)
    at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.<init>(PoolingHttpClientConnectionManager.java:125)
    at org.openqa.selenium.remote.internal.HttpClientFactory.getClientConnectionManager(HttpClientFactory.java:74)
    at org.openqa.selenium.remote.internal.HttpClientFactory.<init>(HttpClientFactory.java:57)
    at org.openqa.selenium.remote.internal.HttpClientFactory.<init>(HttpClientFactory.java:60)
    at org.openqa.selenium.remote.internal.ApacheHttpClient$Factory.getDefaultHttpClientFactory(ApacheHttpClient.java:252)
    at org.openqa.selenium.remote.internal.ApacheHttpClient$Factory.<init>(ApacheHttpClient.java:229)
    at org.openqa.selenium.remote.HttpCommandExecutor.getDefaultClientFactory(HttpCommandExecutor.java:96)
    at org.openqa.selenium.remote.HttpCommandExecutor.<init>(HttpCommandExecutor.java:70)
    at org.openqa.selenium.remote.HttpCommandExecutor.<init>(HttpCommandExecutor.java:58)
    at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:87)
    at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:271)
    at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:119)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:218)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:211)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:207)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:120)
    at com.apm.test.Login.main(Login.java:19)


i have added the external jar files to project Selenium-standalone 2.53.0 , selenium-java-2.53.0 and selenium-java-srcs-2.53.0 

vasanth kumar

unread,
Mar 31, 2016, 1:22:25 AM3/31/16
to seleniu...@googlegroups.com
hi Guys,

i had resolved this issue myself , now selenium  working fine,,

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/1bb247ec-d9df-4b09-b349-0ac95bb2a33e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Thank's & Regard's
Vasantha Kumar

Mark Thorhauge

unread,
Jul 15, 2016, 8:25:53 AM7/15/16
to Selenium Users
Can you please explain how you solved this issue?

ro...@airfox.io

unread,
Oct 11, 2016, 11:25:10 PM10/11/16
to Selenium Users
How you solved this error?
Reply all
Reply to author
Forward
0 new messages