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