solr启动失败404的原因 妖狐艹你老母 2022-06-14 06:06 347阅读 0赞 **我复制了官方文档下面的solr实例 放到 webapps目录下** ![这里写图片描述][SouthEast] -------------------- **更改端口后启动,发现404** ![这里写图片描述][SouthEast 1] **查看tomcat控制台的报出有如下** 12-Jun-2017 11:03:13.606 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory D:\serversoftware\apache-tomcat-8.0.39-windows-x645-solr\apache-tomcat-8.0.39\webapps\ROOT has finished in 31 ms 12-Jun-2017 11:03:13.606 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory D:\serversoftware\apache-tomcat-8.0.39-windows-x645-solr\apache-tomcat-8.0.39\webapps\solr 12-Jun-2017 11:03:17.025 信息 [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 12-Jun-2017 11:03:17.078 严重 [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more Filters failed to start. Full details will be found in the appropriate container log file 12-Jun-2017 11:03:17.081 严重 [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [/solr] startup failed due to previous errors 12-Jun-2017 11:03:17.094 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory D:\serversoftware\apache-tomcat-8.0.39-windows-x645-solr\apache-tomcat-8.0.39\webapps\solr has finished in 3,488 ms solr 项目没有加载成功,原来是 log4j 的 jar包不全。 需要将 以下ext下面的lib 放到 tomcat中的 solr项目的lib目录下 ![这里写图片描述][SouthEast 2] **复制到这里即可** ![这里写图片描述][SouthEast 3] [SouthEast]: /images/20220614/3f277135b99b4a808f3e08848438714d.png [SouthEast 1]: /images/20220614/a2436dea4e48487d9b32e0ecadb8ca6c.png [SouthEast 2]: /images/20220614/d7316166c419415abc3305ad491538f7.png [SouthEast 3]: /images/20220614/3e12c7b4a4bb473ba01a035a98903984.png
还没有评论,来说两句吧...