运行tomcat后solr app没有部署成功.报错是
[quote]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[/quote]
之类.
在localhost.2014-02-26.log中发现
[quote]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)[/quote]
[url]https://wiki.apache.org/solr/SolrLogging[/url]中Using the example logging setup in containers other than Jetty这一节里面说明了要拷贝一些jar,完成后问题解决
[quote]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[/quote]
之类.
在localhost.2014-02-26.log中发现
[quote]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)[/quote]
[url]https://wiki.apache.org/solr/SolrLogging[/url]中Using the example logging setup in containers other than Jetty这一节里面说明了要拷贝一些jar,完成后问题解决