java - 无法启动 solr 服务
问题描述
我似乎无法在端口 8983 上启动 solr serer ..
每次我尝试访问它时,都会收到以下错误消息:
C:\sitecore\solr-6.6.2\bin>solr.cmd -p 8983
Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Java HotSpot(TM) 64-Bit Server VM warning: Option UseParNewGC was deprecated in version 9.0 and will likely be removed in a future release.
Waiting up to 30 to see Solr running on port 8983
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.eclipse.jetty.util.BufferUtil (file:/C:/sitecore/solr-6.6.2/server/lib/jetty-util-9.3.14.v20161028.jar) to field java.nio.MappedByteBuffer.fd
WARNING: Please consider reporting this to the maintainers of org.eclipse.jetty.util.BufferUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
ERROR: Solr at https://localhost:8983/solr did not come online within 30 seconds!
这很奇怪,因为这个端口似乎是 solr 服务的标准?
解决方案
它是 java 9 和 solr 试图从它开始的问题,所以你得到了这个警告。根据您的 solr 版本,请选择 java 版本。我希望这将得到解决。
推荐阅读
- c# - 减去两个数据表值
- ruby - 看起来应用程序已成功部署,但“heroku open”一直显示应用程序错误
- spring - SCDF:重新启动和恢复组合任务
- python - 如何通过 Python 从 chrome 获取 URL
- php - 功能测试代理会影响所有警卫吗?
- jakarta-ee - 我如何在 ibm-web-ext.xml 文件下提及 WAS 9 中的附加类路径
- r - 我将 file.choose() 命令指向一个名为“mytest.r”的文件。现在如何退出?
- mysql - Calculate balance per each category group
- java - 生产者快,消费者慢。磁盘 I/O
- python - IndexError:Python代码中的字符串索引超出范围