From: Ben S. <sub...@be...> - 2013-11-30 11:51:22
|
>>>> I cannot compile HTMLUnit, since SocksSocketFactory extends final >>>> PlainSocketFactory. How can I get around this? >>> You are missing an HTTPClient library jar on your class path or the one >>> you have is out-of-date. >>> >>> Careful, there’s more than one HTTPClient out there. >> Thanks David, to get it right, can you point me towards the right one. >> There is an client in my path but maybe the wrong one. > Chances are you have a typo in your class path if you think you have one > available. That doesn't seem to be the case, since I get the following error message: [javac] /nas/home3/b/bsmyth/workspace/src/com/gargoylesoftware/htmlunit/SocksSocketFactory.java:33: cannot inherit from final org.apache.http.conn.scheme.PlainSocketFactory [javac] class SocksSocketFactory extends PlainSocketFactory { To clarify, the htmlunit source is from htmlunit-2.13-src.zip and httpclient-4.3.1.jar is extracted from htmlunit-2.13-bin.zip. |