Could not find necessary SLF4j logging jars.if using Jetty,the SLF4J logging 解决方法

来源:互联网 发布:mac怎么彻底删除文件 编辑:程序博客网 时间:2024/06/04 23:20

我用的安装版本是



装完solr 启动时 看日志会出现这个异常

Could not find necessary SLF4j logging jars.if using Jetty,the SLF4J logging jars need to go in the jetty lib/ext directory、、、、


解决方法:

注:(我的solr装在 /home/hadoop/solr    ,  tomcat 装在  /usr/tomcat)

1、把   /solr/example/lib/ext    里的所有 jar包 烤进     /usr/tomcat/webapps/solr/WEB-INF/lib         tomcat 项目目录里面
 

2、另外在  /usr/tomcat/webapps/solr  下面新建一个 文件夹  calsses 把 /solr/example/resources  里面的 log4j.properties 烤近去,问题 就解决了。


界面:


安装时候一定要注意版本是否兼容,我深受其害!


1 0
原创粉丝点击