solr服务器报错:org.apache.solr.common.SolrException: Could not find necessary SLF4j logging jars

本文介绍了解决Solr服务器启动时出现的SolrException异常的方法,主要原因是缺少必要的SLF4j日志库。解决方案包括更新至最新版本的Solr包并把必要的jar包复制到应用服务器的lib目录下。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

严重: Exception starting filter SolrRequestFilter
org.apache.solr.common.SolrException: Could not find necessary SLF4j logging jars. If using Jetty, the SLF4j logging jars need to go in the jetty lib/ext directory. For other containers, the corresponding directory should be used. For more information, see: http://wiki.apache.org/solr/SolrLogging

原因,可能是你的solr服务器版本问题,
1、下载最新的solr包,比如:solr-5.3.1.zip
2、解压后找到,ext文件夹,把这个文件夹下面的所有jar包复制到你的tomcat下面的lib里面。
然后重启启动solr服务器。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值