lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "SolrTomcat" by WangQun
Date Mon, 27 Aug 2012 08:46:28 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "SolrTomcat" page has been changed by WangQun:
http://wiki.apache.org/solr/SolrTomcat?action=diff&rev1=60&rev2=61

  org.apache.solr.common.SolrException: Error loading class 'solr.VelocityResponseWriter'
at org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:389)...
  }}}
  the problem is caused by incorrect <lib> locations in ''$SOLR_HOME/conf/solrconfig.xml''
and can be fixed by reading [[Solr3.5|The Solr 3.5 Post-Release Notes]].
- 
- ==== 关于这个问题的补充说明 ====
- 
- Please note [[Solr3.5|the Solr 3.5 Post-Release Notes]].
- 
- 中告诉我们,要在使用tomcat6.0时避免这个错误,要么注释 <queryResponseWriter
name="velocity" class="solr.VelocityResponseWriter" enable="${solr.velocity.enabled:true}"/>,要么将${solr.velocity.enabled:true}"/修改为${solr.velocity.enabled:false}"/,要么就得将solrconfig.xml中的<lib
dir="../../contrib/extraction/lib" /><lib dir="../../contrib/clustering/lib" />这些相对目录的地址调整为正确的(因为大多数情况下我们都是从example\solr下copy的solrconfig.xml,因此里面的目录位置肯定与实际位置不相符合),修改的时候一定要注意dir="../../contrib/extraction/lib"这个地址的相对位置是对于''$SOLR_HOME/conf/''来说的,而不是''$SOLR_HOME/conf/solrconfig.xml''
  
  == Optional Configuration ==
  === Logging ===

Mime
View raw message