纠结了很久的问题,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/#/
本文详细介绍了如何解决在非Jetty容器中使用Solr时的日志问题。通过将solr/example/lib/ext下的jar包复制到tomcat/lib目录,并将solr/example/resources/log4j.properties复制到webappssolrWEB-INFclasses目录,可以避免警告并顺利运行Solr服务。提供了解决方案和实际应用案例。
3273

被折叠的 条评论
为什么被折叠?



