Solr can't find lib files I have been trying to install the search_api_solr module.  I installed tomcat and Solr according to the instructions on the module's project site and the INSTALL instruction in the module.  However, I am stuck.

According to the INSTALL.txt instructions:


  NOTE: The Solr 4.3+ example application is currently not completely
  supported with the configuration files included in this module, due to
  a slight change in the directory structure. To fix this, simply copy, move
  or symlink the contrib/ directory from the top level of the extracted
  Solr package one level down to example/.
  
  (For other directory structures: the contrib/ directory has to be in the directory two levels up from the one which includes the conf/
  directory. For help, just start the Solr server and check the log
  files for WARN messages – they should state in which place Solr
  expects the directory to be.)


I checked an sure enough Solr is reporting the following warnings:


  00:15:45  WARN    SolrResourceLoader  Can't find (or read) directory to
  add to classloader: ../../../contrib/extraction/lib (resolved as:
  /usr/local/tomcat/solr/drupal/../../../contrib/extraction/lib).
  
  00:15:45  WARN    SolrResourceLoader  Can't find (or read) directory to
  add to classloader: ../../../contrib/clustering/lib/ (resolved as:
  /usr/local/tomcat/solr/drupal/../../../contrib/clustering/lib).


The question is how to resolve this? I am using SolrL ver 4.6.1
I was having the same issue.

I ended up copying the contrib folder into: /usr/local/tomcat
So I had: /usr/local/tomcat/contrib/
and: /usr/local/tomcat/solr/drupal/

That error about contrib/extract/lib went away, but now I'm getting: 
"Failed to load file /usr/local/tomcat/solr/drupal/solrconfig.xml"

As seen on the logging screen: http://screencast.com/t/MqtSNpqUljI

UPDATE: I went to the admin section on Solr and tried to add the core called drupal. So it tried to process the solrconfig.xml and found an error: http://screencast.com/t/EEmU4P9M 
I had the useCompoundFile twice. I fixed it and added the core. After that, it was working fine.
I hope this helps out someone. I installed solr on centos by following the lullabot guide: http://www.lullabot.com/blog/article/installing-solr-use-drupal