I experienced the same issue. With Solr 1.x, I was copying out the
'example' directory to make my solr installation. However, for the
Solr 3.x distributions, the DataImportHandler class exists in a
directory that is at the same level as example: "dist", not a
directory within.

You'll either want to take the entire apache 3.1 directory, or modify
solrconfig to point to the new place you've copied it:

  <lib dir="../../dist/" regex="apache-solr-dataimporthandler-\d.*\.jar" />



On Tue, Apr 26, 2011 at 6:38 AM, Stefan Matheis
<matheis.ste...@googlemail.com> wrote:
> http://www.lucidimagination.com/blog/2011/04/01/solr-powered-isfdb-part-8/
>
> On Tue, Apr 26, 2011 at 3:34 PM, vrpar...@gmail.com <vrpar...@gmail.com> 
> wrote:
>> Hello,
>>
>> i got following source
>>
>> org.apache.solr.common.SolrException: Error loading class
>> 'org.apache.solr.handler.dataimport.DataImportHandler' at
>> org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:389)
>> at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:423) at
>> org.apache.solr.core.SolrCore.createRequestHandler(SolrCore.java:459) .....
>>
>> actually this error comes in solr 3.1 only in solr 1.4.1 it works fine
>>
>> how to solve this problem?
>>
>> Thanks
>>
>> Vishal Parekh
>>
>>
>> --
>> View this message in context: 
>> http://lucene.472066.n3.nabble.com/org-apache-solr-common-SolrException-Error-loading-class-org-apache-solr-handler-dataimport-DataImpo-tp2865625p2865625.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>

Reply via email to