Have most of experience working on Solr with Tomcat. However I recently started with Jetty. I am using Solr 4.7.0 on Windows 7. I have configured solr properly and am able to see the admin UI as well as velocity browse. Dataimporthandler screen is also getting displayed. However when I do a full import it fails with the following error:
INFO - 2014-07-25 12:28:35.177; org.apache.solr.core.SolrCore; [collection1] webapp=/solr path=/dataimport params={indent=true&command=status&_=1406271515176&wt=json} status=0 QTime=0 ERROR - 2014-07-25 12:28:35.179; org.apache.solr.common.SolrException; java.io.IOException: Can't find resource 'C:/solr-4.7.0/example/solr/collection1/conf' in classpath or 'C:\solr-4.7.0\example\solr\collection1\conf' at org.apache.solr.core.SolrResourceLoader.openResource(SolrResourceLoader.java:342) at org.apache.solr.handler.dataimport.DataImportHandler.handleRequestBody(DataImportHandler.java:134) Few Notes: My solrconfig.xml has dataimport configured and i have used: <lib dir="C:/solr-4.7.0/example/solr/collection1/lib" regex="solr-dataimporthandler-4.7.0.jar" /> <lib dir="C:/solr-4.7.0/example/solr/collection1/lib" regex="solr-dataimporthandler-extras-4.7.0.jar" /> <lib dir="C:/solr-4.7.0/example/solr/collection1/lib" regex="mysql-connector-java-5.1.18-bin.jar" /> Also my jars are present on those paths. On my core admin UI I can see correct datadir which is C:\solr-4.7.0\example\solr\collection1\data\ Any help would be appreciated. Thanks, Yavar -