HTTP Status 500 - {msg=SolrCore 'collection1' is not available due to init failure: Could not load c
2019独角兽企业重金招聘Python工程师标准>>>
HTTP Status 500 - {msg=SolrCore 'collection1' is not available due to init failure: Could not load core configuration for core collection1,trace=org.apache.solr.common.SolrException: SolrCore 'collection1' is not available due to init failure: Could not load core configuration for core collection1 at org.apache.solr.core.CoreContainer.getCore(CoreContainer.Java:753) 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:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668) at org.apache.tomcat.util.NET.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1521) at org.apache.tomcat.util.Net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1478) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 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 core configuration for core collection1 at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:66) at org.apache.solr.core.CoreContainer.create(CoreContainer.java:554) at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:261) at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:253) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ... 1 more Caused by: org.apache.solr.common.SolrException: Error loading solr config from /usr/local/solrhome/solr/collection1/solrconfig.xml at org.apache.solr.core.SolrConfig.readFromResourceLoader(SolrConfig.java:148) at org.apache.solr.core.ConfigSetService.createSolrConfig(ConfigSetService.java:79) at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:61) ... 9 more Caused by: java.io.IOException: Can't find resource 'solrconfig.xml' in classpath or '/usr/local/solrhome/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.Config.<init>(Config.java:116) at org.apache.solr.core.Config.<init>(Config.java:86) at org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:161) at org.apache.solr.core.SolrConfig.readFromResourceLoader(SolrConfig.java:144) ... 11 more ,code=500}
解决办法:
solrhome目录建立文件solr.xml,内容:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<solr>
</solr>
转载于:https://my.oschina.net/yzbty32/blog/811960
HTTP Status 500 - {msg=SolrCore 'collection1' is not available due to init failure: Could not load c相关推荐
- 浏览器访问solr报错:HTTP Status 500 - {msg=SolrCore 'collection1' is not available due to init failure
一.错误信息 org.apache.solr.common.SolrException: SolrCore 'collection1' is not available due to init fai ...
- 快速排查feign.FeignException: status 500 …
feign.FeignException: status 500 - 总结一下feign报500的时候快速排查问题的方法, 这个bug容易出现的地方分别为: 1. 远程调用的时候feign的注册信息有 ...
- servlet程序HTTP Status 500 - Error instantiating servlet class 解决
一.项目存放路径问题(最常见) 在安装Tomcat时,运行程序都正常,但却打不开http://localhost:8080/,在Tomcat目录webapps下也找不到自己做的项目,这时因为你做的项目 ...
- HTTP Status 500 - javax.servlet.ServletException: java.lang.OutOfMemoryError: PermGen space
详细错误信息 HTTP Status 500 - javax.servlet.ServletException: java.lang.OutOfMemoryError: PermGen spacety ...
- thymeleaf There was an unexpected error (type=Internal Server Error, status=500).
thymeleaf There was an unexpected error (type=Internal Server Error, status=500). 使用thymeleaf依赖,无法访问 ...
- idea创建javaweb项目连接mysql【HTTP Status 500】
我们在使用idea编写javaweb时难免会使用到MySQL(数据库)里的数据来使得页面"动"起来,但我们使用Java连接MySQL时经常会有一个类我们需要使用,这个类就是: Cl ...
- HTTP Status 500 - The absolute uri: http://java.sun.com/jsp/jstl/core cannot-报错解决方法
操作:jsp文件里面添加<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" % ...
- HTTP Status 500 - 问题
今天上班公司用JSP编写的网站碰到了点问题:点击内页时总是报错: HTTP Status 500 - ..... 网上找了下: 这个网站是jsp的,tomcat服务器发生了错误 500--服务器产生内 ...
- HTTP Status 500 - javax.servlet.ServletException: File [/head.jsp] not found
完整错误信息 HTTP Status 500 - javax.servlet.ServletException: File [/head.jsp] not found type Exception r ...
最新文章
- AutoML自定义搜索网络类(如何在一个大的网络中搜索一个网络)
- 鸿蒙安卓哪个app好,可以放下对华为鸿蒙的担忧了,操作和EMUI相似,能兼容安卓APP - 区块网...
- 从零开始的自学之路——css选择器
- 一张图看懂H5、混合应用、微信小程序
- LeetCode第一题两数之和---JavaScript
- 1.2 案例:波士顿房价预测
- 我对 SRE 的理解
- 一个元素调用css3动画 fixed元素会微抖动
- jmeter基本教程
- iperf3 for android8,iperf-3.0.7_android.zip
- 川农《工程地质及水文地质(本科)》21年12月作业考核
- 将数组a中满足条件的数放入数组b中
- Fair Resource Allocation in Federated Learning
- 从文本文件读取数据方法
- 容器和虚拟机水火不容?不存在的!
- 查看打印机端口的方法
- SpringBoot+Vue高校学生评教系统java教学质量评估系统
- 8月22日云栖精选夜读:新零售业务中台设计及产品体系解决方案
- MYSQL - DML
- 实验五 循环结构程序设计 → 张玉生《C语言程序设计实训教程》双色版 配套实验书答案 (纯手打, 仅供参考)
热门文章
- Express+Socket.IO 实现简易聊天室
- FL Studio常见问题之通道窗口和步进音序器的设置
- spark的外排:AppendOnlyMap与ExternalAppendOnlyMap
- 德国软件巨头SAP旗下风投基金募集10亿美元 专门投资科技初创公司
- 微信小程序将于 2017 年 1 月 9 日正式开放
- 基于容器服务的持续集成与云端交付(四)- 多种发布方式
- geoTools学习笔记001---(简介)
- freebsd 安装教程
- 光纤通道(FC: Fibre Channel)
- [转]Effective C# 原则7: 选择恒定的原子值类型数据