Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-2303

remove unnecessary (and problematic) log4j jars in contribs

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5, 4.0-ALPHA
    • Component/s: Build
    • Labels:
      None

      Description

      In solr 4.0 there is log4j-over-slf4j.

      But if you have log4j jars also in the classpath (e.g. contrib/extraction, contrib/clustering) you can get strange errors such as:
      java.lang.NoSuchMethodError: org.apache.log4j.Logger.setAdditivity(Z)V

      So I think we should remove the log4j jars in these contribs, all tests pass with them removed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rcmuir Robert Muir
                Reporter:
                rcmuir Robert Muir
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: