把Solr导入到eclipse中

参考http://www.lucidimagination.com/devzone/technical-articles/setting-apache-solr-eclipse

出现问题:

严重: org.apache.solr.common.SolrException: Error loading class 'solr.VelocityResponseWriter'

解决方法:

找到solr\conf\solrconfig.xml,把中间 <queryResponseWriter name="velocity" class="solr.VelocityResponseWriter" enable="${solr.velocity.enabled:true}"/>注释或者disabled即可。

猜你喜欢

转载自wujay.iteye.com/blog/1502621