solr cloud首次启动正常,二次启动报错。

我刚接触solr,按照csdn的博客再windows上安装了solr:https://blog.csdn.net/qq_34120430/article/details/109008959

启动命令是solr start -e cloud 并且首次启动正常

第二天,再用上述命令启动就报错了:

控制台错误是:

ERROR: Did not see Solr at http://localhost:8983/solr come online within 30 seconds!

页面错误是:

HTTP ERROR 404 javax.servlet.UnavailableException: Error processing the request. CoreContainer is either not initialized or shutting down.
URI:    /solr/
STATUS:    404
MESSAGE:    javax.servlet.UnavailableException: Error processing the request. CoreContainer is either not initialized or shutting down.
SERVLET:    default
CAUSED BY:    javax.servlet.ServletException: javax.servlet.UnavailableException: Error processing the request. CoreContainer is either not initialized or shutting down.
CAUSED BY:    javax.servlet.UnavailableException: Error processing the request. CoreContainer is either not initialized or shutting down.

请朋友们给指条明路

本人已解决

执行一次 solr restart -p 8983 即可

万事不求人蛤蛤蛤~希望能帮助大家