HTTP Status 500 - {msg=SolrCore 'collection1' is not available due to init failure: Could not load conf for core collection1: Error loading solr config from solr/collection1/conf/solrconfig.xml,trace=org.apache.solr.common.SolrException: SolrCore 'collection1' is not available due to init failure: Could not load conf for core collection1: Error loading solr config from solr/collection1/conf/solrconfig.xml at org.apache.solr.core.CoreContainer.getCore(CoreContainer.java:745) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:307) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.solr.common.SolrException: Could not load conf for core collection1: Error loading solr config from solr/collection1/conf/solrconfig.xml at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:66) at org.apache.solr.core.CoreContainer.create(CoreContainer.java:489) at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:255) at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:249) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ... 1 more under Caused by: org.apache.solr.com mon. SolrException: Error loading solr config from collection1/solr/conf/solrconfig. XML at org. Apache. Solr. Core. Solrconfig. ReadFromResourceLoader (solrconfig. Java: 148) at org. Apache. Solr. Core. ConfigSetService. CreateSolrConfig (ConfigSetService. Java: 80) at org. Apache. Solr. Core. ConfigSetService. GetConfig (ConfigSetService. Java: 61)... 7 more under Caused by: Java. IO. IOException: Can 't find the resource' solrconfig. XML 'in the classpath or'/usr/local/share/apache tomcat - 7.0.56/bin/solr/collection1/conf '. At org. Apache solr. Core. SolrResourceLoader. OpenResource (SolrResourceLoader. Java: 362) at org. Apache. Solr. Core. SolrResourceLoader. OpenConfig (SolrResourceLoader. Java: 308) at org. Apache. Solr. Core. The Config. & lt; init> (Config. Java: 117) at org. Apache. Solr. Core. The Config. & lt; init> (Config. Java: 87) at org. Apache. Solr. Core. SolrConfig. & lt; init> (SolrConfig. Java: 161) at org. Apache. Solr. Core. SolrConfig. ReadFromResourceLoader (SolrConfig. Java: 144)... Nine more, code=500}
CodePudding user response:
Lz is solved? I also met
CodePudding user response:
Try:
Solrhome directory set up file solr. XML content:
<? The XML version="1.0" encoding="utf-8" standalone="yes"?>