问题描述:
 
 
 昨天刚搭建玩solr集群,配置好后,第二天正常启动tomcat和zookeeper,在浏览器打开tomcat能够正常访问,可是在后面加上solr项目地址, 访问出现503-Server is shutting down or failed to initialize.
 
 
 
在虚拟机中部署一个solr服务。所有操作完成在主机浏览器访问时。抛出503-Server is shutting down or failed to initialize错误。
 
解法一:
 
 
 将解压后的solr下面的example/resources/下的log4j.properties复制到 solr项目下的 /WEB_INF/classes中。
 
 
解法二:
 
 
 将解压后的solr/example/lib/ext下的所有 jar包,复制到 solr项目下的 /WEB_INF/下的lib文件夹中。