Solr
  1. Solr
  2. SOLR-2303

remove unnecessary (and problematic) log4j jars in contribs

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major 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.

      1. SOLR-2303.patch
        0.4 kB
        Robert Muir

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development