lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Lamb <brian.l...@journalexperts.com>
Subject Re: Adding the suggest component
Date Tue, 22 Mar 2011 19:40:41 GMT
That fixed that error as well as the could not initialize Dataimport class
error. Now I'm getting:

org.apache.solr.common.SolrException: Error Instantiating Request Handler,
org.apache.solr.handler.dataimport.DataImportHandler is not a
org.apache.solr.request.SolrRequestHandler

I can't find anything on this one. What I've added to the solrconfig.xml
file matches whats in example-DIH so I don't quite understand what the issue
is here. It sounds to me like it is not declared properly somewhere but I'm
not sure where/why.

Here is the relevant portion of my solrconfig.xml file:

<requestHandler name="/dataimport"
class="org.apache.solr.handler.dataimport.DataImportHandler">
   <lst name="defaults">
     <str name="config">db-data-config.xml</str>
   </lst>
</requestHandler>

Thanks for all the help so far. You all have been great.

Brian Lamb

On Tue, Mar 22, 2011 at 3:17 PM, Ahmet Arslan <iorixxx@yahoo.com> wrote:

> > java.lang.NoClassDefFoundError: Could not initialize class
> > org.apache.solr.handler.dataimport.DataImportHandler
> > at java.lang.Class.forName0(Native Method)
> >
> > java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
> > at
> >
> org.apache.solr.handler.dataimport.DataImportHandler.<clinit>(DataImportHandler.java:72)
> >
> > Caused by: java.lang.ClassNotFoundException:
> > org.slf4j.LoggerFactory
> > at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> >
>
> You can find slf4j- related jars in \trunk\solr\lib, but this error is
> weird.
>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message