Shairyar Shafqat
Shairyar Shafqat

Reputation: 117

SolrCore Initialization Failures, sometimes it says, "sorry, no dataimport-handler defined!" and sometimes it throws the error below

SolrCore Initialization Failures, sometimes it says, "sorry, no dataimport-handler defined!" and sometimes it throws the error below

org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Error loading class 'org.apache.solr.handler.dataimport.DataImportHandler'

Been stuck here for days, and no this isn't HomeWork, just a student trying to learn how Natural Language Processing is done :)

Upvotes: 0

Views: 851

Answers (1)

Abhijit Bashetti
Abhijit Bashetti

Reputation: 8668

Check your class path , it seems thats DataImportHandler is not added in classpath.

do check the solrConfig.xml for below

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

Upvotes: 1

Related Questions