在Tomcat里面部署Solr4.7版本,需要将solr/example/lib/ext目录下的SLF4J相关的Jar包copy到%Tomcat%/webapps/solr/WEB-INF/lib下面,不然,Solr启动将会失败。
Solr 4.3 and above
What changed
These versions do not include any logging jars in the WAR file. They must be provided separately. The Solr example for these versions includes jars (in the jetty lib/ext directory) that set up SLF4J with a binding to the Apache log4j library.