lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriele Kahlout (JIRA)" <>
Subject [jira] [Commented] (SOLR-2574) Add SLF4J-nop dependency
Date Sun, 05 Jun 2011 18:00:47 GMT


Gabriele Kahlout commented on SOLR-2574:

{quoute} I'm not sure that is great behavior – the point of SLF4j to let people choose what
framework to use... {quote}

It'd make some sense if I'm re-building solrj, but as a client that (to me) totally unacceptable.
If slf4j is such a great thing, that's ! the way to promote it, you get a build failure because
of this slf4j and then go figure out the 'simplest thing that could possible work'[Extreme
I'm ! alone with the issue, others have posted about it (I'm the one taking the time to post
an issue).

> Add SLF4J-nop dependency
> ------------------------
>                 Key: SOLR-2574
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Gabriele Kahlout
>            Priority: Minor
>             Fix For: 1.4
>         Attachments:
> 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:
> {code}
> java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
> 	at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<clinit>(
> 	at com.mysimpatico.solrjtest.App.main(
> {code}
> Uncomment the nop dependency and it will work.

This message is automatically generated by JIRA.
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message