I'm still confused as to why I'm getting this error. To me it reads that the
.java file was declared incorrectly but I shouldn't need to change those
files so where am I doing something incorrectly?

On Tue, Mar 22, 2011 at 3:40 PM, Brian Lamb
<brian.l...@journalexperts.com>wrote:

> 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 <iori...@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.
>>
>>
>>
>>
>

Reply via email to