lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey Chang <jclal...@gmail.com>
Subject Re: DataImportHandler
Date Mon, 30 May 2011 16:03:20 GMT
I faced the same problem before, but that's because some parent classloader has loaded the
DataImport class instead of using the SolrResourceLoader's delegated classloader.

How are you starting your Solr? Via Eclipse? If you try starting Solr using cmdline, will
you encounter the same issue?



On May 30, 2011, at 9:28 PM, adpablos <adpablos@molinodeideas.es> wrote:

> Hi,
> 
> i've tryed to install DataImportHandler but i've some problems when run up
> solr.
> 
> 
> GRAVE: org.apache.solr.common.SolrException: Error Instantiating Request
> Handler, 
> org.apache.solr.handler.dataimport.DataImportHandler is not a
> org.apache.solr.request.SolrRequestHandler
> 
> This is the log.
> 
> I've 
> 
>  <requestHandler name="/dataimport"
> class="org.apache.solr.handler.dataimport.DataImportHandler">
>    <lst name="defaults">
>        <str name="config">db-data-config.xml</str>
>    </lst>
>  </requestHandler>
> 
> in my solrconfig.xml
> 
> i'm working ina  java project and in my eclipse project, i can write
> something like this: SolrRequestHandler srh = new DataImportHandler(); with
> out problem. 
> 
> Sorry about my english and thank you in advance.
> 
> --
> View this message in context: http://lucene.472066.n3.nabble.com/DataImportHandler-tp3001957p3001957.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message