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
Attachments
Issue Links
- is a clone of
-
SOLR-560 Convert JDK logging to SLF4J
- Closed
So you are suggesting that solrj should ship with no-opp?
I'm not sure that is great behavior – the point of SLF4j to let people choose what framework to use...