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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.4 Final
    • 4.4.1
    • HttpClient (classic)
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: