问题描述
按照blacklight quickstart的blacklight教程进行操作,并以困难的方式创建新的应用程序。
在命令行中运行rails server
后,出现错误
Completed 500 Internal Server Error in 84ms (ActiveRecord: 0.0ms | Allocations: 10772)
Blacklight::Exceptions::InvalidRequest (RSolr::Error::Http - 404 Not Found Error: <html>...
当我尝试在http:// localhost:3000 / catalog上打开Rails服务器时,它显示:
Blacklight::Exceptions::InvalidRequest in CatalogController#index RSolr::Error::Http - 404 Not Found Error: <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> <title>Error 404 Not Found</title> </head> <body><h2>HTTP ERROR 404 Not Found</h2> <table> <tr><th>URI:</th><td>/solr/blacklight-core/select</td></tr> <tr><th>STATUS:</th><td>404</td></tr> <tr><th>MESSAGE:</th><td>Not Found</td></tr> <tr><th>SERVLET:</th><td>default</td></tr> URI: http://127.0.0.1:8983/solr/blacklight-core/select?...
正在http://127.0.0.1:8983/solr/admin上检查solr管理员页面,它显示:
HTTP ERROR 404 Not Found
URI: /solr/blacklight-core
STATUS: 404
MESSAGE: Not Found
SERVLET: default
我发现大多数解决方案都在使用sunspot进行过时,并且尝试更改config / sunspot.yml中的路径,而我没有基于快速入门安装sunspot gem。我以为solr / blacklight-core没有运行,但实际上我可以打开http:// localhost:8983 / solr /#/ blacklight-core / query。如果您对此问题有任何见解,请告诉我。谢谢!
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)