启动Solr时显示错误

时间:2014-10-18 00:51:13

标签: ruby-on-rails solr sunspot sunspot-rails sunspot-solr

2014-10-18 08:33:43.531:INFO:oejw.StandardDescriptorProcessor:NO JSP Support for /solr, did not find org.apache.jasper.servlet.JspServlet
Null identity service, trying login service: null
Finding identity service: null

使用Rails运行solr时出现以下错误。我通过bundler安装了sunspot_rails:

group :test, :development do
  gem 'sunspot_solr', '2.1.1'
end
gem 'sunspot_rails', '2.1.1'

我可以访问`localhost:8982'但请参阅页面顶部的以下内容:

enter image description here enter image description here

知道可能是什么问题吗?

1 个答案:

答案 0 :(得分:0)

将此添加到您的Gemfile: -

gem 'sunspot_rails'
gem 'sunspot_solr' # optional pre-packaged Solr distribution for use in development
gem 'progress_bar'

毋庸置疑......您需要先安装提及的install java jdk步骤here .. 抱歉我无法粘贴此处的步骤,因为它会更好

..希望它能帮助......