You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2011/06/15 12:22:36 UTC

[Solr Wiki] Update of "Solrj" by KostyaGribov

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "Solrj" page has been changed by KostyaGribov:
http://wiki.apache.org/solr/Solrj?action=diff&rev1=57&rev2=58

Comment:
Problem with different slf4j-api and slf4j binding solution.

              <version>1.5.6</version>
          </dependency> 
  }}}
+ 
+ If you use solr-solrj version 1.4.1 and slf4j-simple 1.5.6 you may get IllegalAccessError because of slf4j-api change.
+ Solrj uses slf4j-api 1.5.5 so you have to use slf4j-simple 1.5.5 or other binding with appropriate version. See [[http://www.slf4j.org/faq.html#IllegalAccessError|slf4j FAQ]].
  
  = CommonsHttpSolrServer =
  The [[http://lucene.apache.org/solr/api/org/apache/solr/client/solrj/impl/CommonsHttpSolrServer.html|CommonsHttpSolrServer]] uses the [[http://jakarta.apache.org/httpcomponents/httpclient-3.x/|Apache Commons HTTP Client]] to connect to solr.