Fix IllegalAccessError with slf4j used in Solrj.
------------------------------------------------

                 Key: NUTCH-980
                 URL: https://issues.apache.org/jira/browse/NUTCH-980
             Project: Nutch
          Issue Type: Bug
          Components: build
    Affects Versions: 1.3
            Reporter: Markus Jelsma
            Assignee: Markus Jelsma
            Priority: Blocker
             Fix For: 1.3, 2.0


Currently Solr commands fail because of:

 Exception in thread "main" java.lang.IllegalAccessError: tried to 
 access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class 
 org.slf4j.LoggerFactory
         at 
 org.slf4j.LoggerFactory.staticInitialize(LoggerFactory.java:83)
         at org.slf4j.LoggerFactory.<clinit>(LoggerFactory.java:73)
         at 
 
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<clinit>(CommonsHttpSolrServer.java:78)

Julien looked it up http://www.slf4j.org/faq.html#IllegalAccessError , we need 
to change the versions in Ivy. I haven't yet come around to test it with trunk 
so we need to look for it there as well.

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

Reply via email to