[ 
https://issues.apache.org/jira/browse/SOLR-2574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gabriele Kahlout updated SOLR-2574:
-----------------------------------

    Attachment: solrjtest.zip

> Add SLF4J-nop dependency
> ------------------------
>
>                 Key: SOLR-2574
>                 URL: https://issues.apache.org/jira/browse/SOLR-2574
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Gabriele Kahlout
>            Assignee: Ryan McKinley
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: solrjtest.zip
>
>
> Whatever the merits of slf4j, a quick solrj test should work. I've attached a 
> sample project with dependency on solrj-3.2 on run it prints:
> {code}
> 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)
> {code}
> Uncomment the nop dependency and it will work.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to