I fixed a few other exceptions it threw when I started the server but I
don't know how to fix this one:

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)

I've searched Google but haven't been able to find a reason why this happens
and how to fix it.

Thanks,

Brian Lamb

On Tue, Mar 22, 2011 at 12:54 PM, Brian Lamb
<[email protected]>wrote:

> Awesome! That fixed that problem. I'm getting another class not found error
> but I'll see if I can fix it on my own first.
>
>
> On Tue, Mar 22, 2011 at 11:56 AM, Ahmet Arslan <[email protected]> wrote:
>
>>
>> --- On Tue, 3/22/11, Brian Lamb <[email protected]> wrote:
>>
>> > From: Brian Lamb <[email protected]>
>> > Subject: Re: Adding the suggest component
>> > To: [email protected]
>> > Cc: "Erick Erickson" <[email protected]>
>> > Date: Tuesday, March 22, 2011, 5:28 PM
>> > Thanks everyone for the advice. I
>> > checked out a recent version from SVN and
>> > ran:
>> >
>> > ant clean example
>> >
>> > This worked just fine. However when I went to start the
>> > solr server, I get
>> > this error message:
>> >
>> > SEVERE: org.apache.solr.common.SolrException: Error loading
>> > class
>> > 'org.apache.solr.handler.dataimport.DataImportHandler'
>>
>> run 'ant clean dist' and copy trunk/solr/dist/
>>
>> apache-solr-dataimporthandler-extras-4.0-SNAPSHOT.jar
>> apache-solr-dataimporthandler-4.0-SNAPSHOT.jar
>>
>> to solrHome/lib directory.
>>
>>
>>
>>
>>
>>
>>
>

Reply via email to