---
title: "tomcat中无法运行solr 4.6"
author: "kabike"
date: "2014-02-25T10:52:44Z"
tags: ["Solr"]
categories: ["开源软件"]
slug: "tomcat-solr-4-6"
draft: false
lastmod: "2014-02-25T10:52:44Z"
id: 2021532
url: "https://kabike.iteye.com/blog/2021532"
---

运行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.(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,完成后问题解决