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