hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "yule (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPCLIENT-1203) java.lang.NoSuchMethodError: org.apache.http.impl.conn.DefaultClientConnectionOperator
Date Thu, 07 Jun 2012 02:05:22 GMT
yule created HTTPCLIENT-1203:
--------------------------------

             Summary: java.lang.NoSuchMethodError: org.apache.http.impl.conn.DefaultClientConnectionOperator
                 Key: HTTPCLIENT-1203
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1203
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpClient
    Affects Versions: 4.2 Final
         Environment: windows xp        jdk6
            Reporter: yule


SchemeRegistry schemeRegistry = new SchemeRegistry();
            schemeRegistry.register(new Scheme("http", 80, PlainSocketFactory.getSocketFactory()));

            HttpParams params = null;

            PoolingClientConnectionManager pm = new PoolingClientConnectionManager(schemeRegistry);

java.lang.NoSuchMethodError: org.apache.http.impl.conn.DefaultClientConnectionOperator.<init>(Lorg/apache/http/conn/scheme/SchemeRegistry;Lorg/apache/http/conn/DnsResolver;)V
	at org.apache.http.impl.conn.PoolingClientConnectionManager.createConnectionOperator(PoolingClientConnectionManager.java:140)
	at org.apache.http.impl.conn.PoolingClientConnectionManager.<init>(PoolingClientConnectionManager.java:114)
	at org.apache.http.impl.conn.PoolingClientConnectionManager.<init>(PoolingClientConnectionManager.java:99)
	at org.apache.http.impl.conn.PoolingClientConnectionManager.<init>(PoolingClientConnectionManager.java:85)
	at org.apache.http.impl.conn.PoolingClientConnectionManager.<init>(PoolingClientConnectionManager.java:93)
	at com.mbaobao.api.stock.util.NewHttpClientUtil.<clinit>(NewHttpClientUtil.java:46)





--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message