Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-11260

Appache httpcomponents.core cannot see required Commons codec classes

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 14.0.0.Final
    • None
    • Web (Undertow)
    • None

    Description

      Appache httpcomponents.core cannot see required Commons codec classes

      java.lang.NoClassDefFoundError: org/apache/commons/codec/binary/Base64
      	at org.apache.httpcomponents.core//org.apache.http.impl.auth.BasicScheme.authenticate(BasicScheme.java:168)
      	at org.apache.httpcomponents.core//org.apache.http.impl.auth.HttpAuthenticator.doAuth(HttpAuthenticator.java:239)
      	at org.apache.httpcomponents.core//org.apache.http.impl.auth.HttpAuthenticator.generateAuthResponse(HttpAuthenticator.java:218)
      	at org.apache.httpcomponents.core//org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:262)
      	at org.apache.httpcomponents.core//org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
      	at org.apache.httpcomponents.core//org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
      	at org.apache.httpcomponents.core//org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
      	at org.apache.httpcomponents.core//org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
      	at org.apache.httpcomponents.core//org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71)
      

      The fix is to add a module dependency to "org.apache.commons.codec" in the "org.apache.httpcomponents.core" module.

      Attachments

        Issue Links

          Activity

            People

              yborgess1@redhat.com Yeray Borges Santana
              rady66@hotmail.com Radoslav Ivanov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: