首页 > 解决方案 > 无法启动 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 服务的标准?

标签: javasolr

解决方案


它是 java 9 和 solr 试图从它开始的问题,所以你得到了这个警告。根据您的 solr 版本,请选择 java 版本。我希望这将得到解决。


推荐阅读