Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-15345

org.apache.httpcomponents.core requires org.apache.commons.codec

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 7.2.0.CD14
    • None
    • Management
    • None

    Description

      In WildFly 14 we get:

      Exception in thread "Hibernate Search: Elasticsearch transport thread-2" java.lang.NoClassDefFoundError: org/apache/commons/codec/binary/Base64
      2018-09-03 11:58:13,120 ERROR [stderr] (Hibernate Search: Elasticsearch transport thread-2)    at org.apache.http.impl.auth.BasicScheme.authenticate(BasicScheme.java:168)
      2018-09-03 11:58:13,120 ERROR [stderr] (Hibernate Search: Elasticsearch transport thread-2)    at org.apache.http.impl.auth.HttpAuthenticator.doAuth(HttpAuthenticator.java:239)
      2018-09-03 11:58:13,120 ERROR [stderr] (Hibernate Search: Elasticsearch transport thread-2)    at org.apache.http.impl.auth.HttpAuthenticator.generateAuthResponse(HttpAuthenticator.java:218)
      2018-09-03 11:58:13,120 ERROR [stderr] (Hibernate Search: Elasticsearch transport thread-2)    at org.apache.http.impl.nio.client.MainClientExec.generateRequest(MainClientExec.java:224)
      

      Seems that the org.apache.httpcomponents.core (WildFly core) module is not declaring the dependency on module org.apache.commons.codec (WildFly full).

      Should this be added as an optional dependency, or maybe the need for this module warrants moving the org.apache.commons.codec module to WildFly core ?

      Attachments

        Issue Links

          Activity

            Public project attachment banner

              context keys: [headless, issue, helper, isAsynchronousRequest, project, action, user]
              current Project key: JBEAP

              People

                bstansbe@redhat.com Brian Stansberry
                msimka@redhat.com Martin Simka
                Martin Simka Martin Simka
                Martin Simka Martin Simka
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: