Well, I'm not using Maven... I have added the API lib as a dependency to my
Eclipse project, only because I'm using an SLF4J logger now in my code. I've
also added the API and the SLF4J-Log4J bridge (that I had to get from the
SLF4J site) to my deployment so that I could deploy my app to JBoss and
If you are using maven you can simply add the following dependency to your
pom.xml:
org.slf4j
slf4j-simple
1.5.6
In addition to any solr / lucene packages you may need for your task.
Ahhh... yeah it is there, thanks.
Seems to me that it should be in dist's solrj-lib (since it's required at
runtime), but then again I'm not really in a position to comment on that
either.
Question: Are all the jars in solrj-lib required to run SolrJ?
- Daryl.
On Wed, Jun 17, 2009 at 11:13 AM,
True, its not in apache-solr-nightly/dist/solrj-lib, but it is in
apache-solr-nightly/lib, so no reason to have to download it.
I couldn't comment on whether or not it also belongs in solrj-lib.
--
- Mark
http://www.lucidimagination.com
Development Team wrote:
Hi everybody,
With Solr
Hi everybody,
With Solr 1.4, when I try to *run* an app that uses SolrJ, it fails
with this exception:
Exception in thread "Thread-4" java.lang.NoClassDefFoundError:
org/slf4j/LoggerFactory
at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.(CommonsHttpSolrServer.java:77)
I sear