tomcat中无法运行solr 4.6

运行tomcat后solr app没有部署成功.报错是

引用
2014-02-26 20:02:57 org.apache.catalina.core.StandardContext startInternal
严重: Error filterStart
2014-02-26 20:02:57 org.apache.catalina.core.StandardContext startInternal
严重: Context [/solr] startup failed due to previous errors

之类.

在localhost.2014-02-26.log中发现

引用
org.apache.solr.common.SolrException: Could not find necessary SLF4j logging jars. If using Jetty, the SLF4j logging jars need to go in the jetty lib/ext directory. For other containers, the corresponding directory should be used. For more information, see: http://wiki.apache.org/solr/SolrLogging
at org.apache.solr.servlet.SolrDispatchFilter.<init>(SolrDispatchFilter.java:111)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)




https://wiki.apache.org/solr/SolrLogging中Using the example logging setup in containers other than Jetty这一节里面说明了要拷贝一些jar,完成后问题解决

你可能感兴趣的:(Solr)