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

upgrade SLF4J (primary motivation: simplifiy use of solrj)

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment