【报错】Error CREATEing SolrCore 'new_core': Unable to create core [new_core] Caused by: Can't find resource 'solrconfig.xml' in classpath or '/opt/solr/server/solr/new_core'
错误提示:在新建core的路径下'/opt/solr/server/solr/new_core' 缺少配置文件 'solrconfig.xml'
无法添加内核
【解决】拷贝solr主目录下的配置文件,到新建的内核
[admin@localhost ~]$ sudo docker exec -it solr /bin/bash #进入docker容器
solr@fe373dc7df45:/opt/solr$ cp /opt/solr/server/solr/configsets/_default/conf/ -r /opt/solr/server/solr/new_core/
添加内核成功