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

upgrade SLF4J (primary motivation: simplifiy use of solrj)

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.3, 4.0-ALPHA
    • None
    • 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

              shalin Shalin Shekhar Mangar
              simpatico Gabriele Kahlout
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: