I've had this issue trying to set up a multi core solr instance. It's obviously something basic I'm overlooking in the jar loading since the basic solr install works. The required classes should be in the jars located in the dist or contrib/*/lib dirs.
SEVERE: null:java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/apache/tika/mime/MimeTypeException at org.apache.solr.servlet.SolrDispatchFilter.sendError(SolrDispatchFilter.java:449) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:277) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) Here is the relevant part of my solrconfig.xml (see image for actual directory structure). From the xml comments, the directory location is relative to the instance location. I've tried all sorts of other variations in the number of backslashes etc but none seem to work solrconfig.xml (highlighted in image) <lib dir="../../contrib/extraction/lib" /> <lib dir="../../contrib/clustering/lib/" /> <lib dir="../../contrib/velocity/lib" /> <lib dir="../../dist/" regex="apache-solr-cell-\d.*\.jar" /> <lib dir="../../dist/" regex="apache-solr-clustering-\d.*\.jar" /> <lib dir="../../dist/" regex="apache-solr-langid-\d.*\.jar" /> <lib dir="../../dist/" regex="apache-solr-velocity-\d.*\.jar" /> http://lucene.472066.n3.nabble.com/file/n3846464/solr.jpg The client used to generate the request: String fileName2 = "C:\\work\\SolrClient\\data\\tesla.txt"; //SolrServer server = new StreamingUpdateSolrServer("http://localhost:8080/solr/",20,8); SolrServer server = new StreamingUpdateSolrServer("http://localhost:8080/solr/testcore1", 20, 8); UpdateRequest req = new UpdateRequest("/update/extract"); ModifiableSolrParams params = null; params = new ModifiableSolrParams(); params.add("stream.file", new String[]{fileName2}); params.set("literal.id", fileName2); params.set("captureAttr", "false"); req.setParams(params); server.request(req); server.commit(); Resulting in request: http://localhost:8080/solr/testcore1/update/extract -- View this message in context: http://lucene.472066.n3.nabble.com/Can-t-locate-contrib-jars-solr-3-5-solr-4-when-indexingt-tp3846464p3846464.html Sent from the Solr - User mailing list archive at Nabble.com.