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

我用的安装版本是



装完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 烤近去,问题 就解决了。


界面:

Could not find necessary SLF4j logging jars.if using Jetty,the SLF4J logging 解决方法_第1张图片


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


你可能感兴趣的:(find,logging,slf4j,解决,could,the,not,neces)