You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by John Ament <my...@gmail.com> on 2010/03/09 17:40:03 UTC

Embedded solr - SLF4J exception

While attempting to work around my other issue, I'm trying to use an
embedded solr server to try to programatically load data into solr.

It seems though that I can't deploy my app, as a result of this exception:

: java.lang.IllegalAccessError: tried to access field
org.slf4j.impl.StaticLoggerBinder.SINGLETON from class
org.slf4j.LoggerFactory

I'm attempting to glassfish v3, which uses weld for CDI and I can only
assume it's a conflict between SLF versions.  Is it safe to upgrade to a
newer SLF version?

Thanks,

John