日期:2014-05-17 浏览次数:20794 次
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8" />
<?xml version="1.0" encoding="UTF-8" ?> <Context docBase="c:/Program Files/tomcat-6.0.35/webapps/solr.war" debug="0" crossContext="true" > <Environment name="solr/home" type="java.lang.String" value="c:/solr" override="true"/> </Context>
严重: org.apache.solr.common.SolrException: Error Instantiating QueryResponseWriter, solr.VelocityResponseWriter is not a org.apache.solr.response.QueryResponseWriter
<!-- The solr.velocity.enabled flag is used by Solr's test cases so that this response writer is not loaded (causing an error if contrib/velocity has not been built fully) --> <queryResponseWriter name="velocity" class="solr.VelocityResponseWriter" enable="${solr.velocity.enabled:true}"/>