Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-1611

NoClassDefFoundError: org/apache/http/ssl/SSLContexts in httpclient-osgi

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.4 Final
    • Fix Version/s: 4.4.1
    • Component/s: HttpClient (classic)
    • Labels:
      None

      Description

      HttClient throws NoClassDefFoundError in context of OSGi. This is due to a missing package-import for org.apache.http.ssl

      java.lang.NoClassDefFoundError: org/apache/http/ssl/SSLContexts
      	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.getSocketFactory(SSLConnectionSocketFactory.java:172)
      	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.getDefaultRegistry(PoolingHttpClientConnectionManager.java:109)
      	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.<init>(PoolingHttpClientConnectionManager.java:120)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tnarake Timo Naroska
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: