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 <[email protected]> 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.
>
>
>
>