糾結了很久的問題,https://wiki.apache.org/solr/SolrLogging#Using_the_example_logging_setup_in_containers_other_than_Jetty 查到了。
差不多就是說解決方案: 1 把solr/example/lib/ext 下面的jar 都複制到 tomcat/lib 目錄下面
2 把solr/example/resources/log4j.properties 複制到 webapps\solr\WEB-INF\classes目錄 (貌似還是警告 不過沒問題,隻是警告)。
就沒問題了 ,http://localhost:8080/solr-4.4.0/#/