问题截图:在这里插入图片描述

Unrecognized vM option ‘UseConcMarkSweepGc’
Error : Could not create the Java Virtual Machine
Error: A fatal exception has occurred. Program will exit.
Waiting up to 30 to see Solr running on port 8983
ERROR: Solr at http://localhost:8983/solr did not come online within 30 seconds

怎么解决:我用的是solr-7.6.0和JDK16,二者不兼容,换成JDK1.8就解决了
成功截图:

在这里插入图片描述

更多推荐