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

upgrade SLF4J (primary motivation: simplifiy use of solrj)

    Details

    • Type: Wish
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3, 4.0-ALPHA
    • Component/s: None
    • Labels:
      None

      Description

      Whatever the merits of slf4j, a quick solrj test should work.

      I've attached a sample 1-line project with dependency on solrj-3.2 on run it prints:

      java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
      	at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<clinit>(CommonsHttpSolrServer.java:72)
      	at com.mysimpatico.solrjtest.App.main(App.java:12)
      

      Uncomment the nop dependency and it will work.

        Attachments

        1. solrjtest.zip
          5 kB
          Gabriele Kahlout

          Issue Links

            Activity

              People

              • Assignee:
                shalinmangar Shalin Shekhar Mangar
                Reporter:
                simpatico Gabriele Kahlout
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: