When I added this configuration to the solrconfig.xml file:
<requestHandler name="/dataimport" class="org.apache.solr.handler.dataimport.DataImportHandler"> <lst name="defaults"> <str name="config">data-config.xml</str> </lst> </requestHandler>
and then tomcat started, I got this exception:
ClassNotFoundException: org.apache.solr.util.plugin.SolrCoreAware
I checked the directory
<lib dir="../../dist/" regex="apache-solr-dataimporthandler-\d.*\.jar" />
jar is imported, what's wrong with it? What does the dir lib node attribute mean?
source share