我已经按照http://pabloseminario.com/2011/02/22/installing-solr-on-debian-6-0/ 中的说明设置了 Apache Tomcat 6 服务器并安装了 Apache Solr 3.5.0 。
现在,在浏览器中打开 solr 应用程序会产生以下错误:
HTTP Status 500 - Severe errors in solr configuration. Check your log files for more detailed information on what may be wrong. If you want solr to continue after configuration errors, change: <abortOnConfigurationError>false</abortOnConfigurationError> in solr.xml
-------------------------------------------------------------
org.apache.solr.common.SolrException: Error loading class 'solr.VelocityResponseWriter'
at org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:389)
at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:425)
at org.apache.solr.core.SolrCore.createInitInstance(SolrCore.java:447)
Run Code Online (Sandbox Code Playgroud)
我的安装目前向公众开放以进行测试:
http://62.75.247.116:8080/solr/
我在 Debian 6 机器上运行它。
我做了一些谷歌搜索,但对于 Solr 3.5,几乎没有文档或任何关于此的内容;大多数信息适用于 1.4,不适用于 3.5。
注意:我以前在 Tomcat 和 Solr 方面都没有经验。