标签:style http io ar os sp java strong on
Apache Solr 之 环境搭建<Context docBase="D:/Program Files/apache-tomcat-7.0.29/apache-tomcat-7.0.29/webapps/solr" debug="0" crossContext="true" > <Environment name="solr/home" type="java.lang.String" value="D:/Program Files/solr-tomcat/solr" override="true" /> </Context>
步骤4,从solr-4.1.0\example\lib\ext复制所有的jar到tomcat/lib下,并复制solr-4.1.0\example\resources\log4j.properties到tomcat/lib下(有关日志的说明,见http://wiki.apache.org/solr/SolrLogging),须知,solr-4.1.0.jar并没有自带日志打印组件,因此这个步骤不执行,可能引起“org.apache.catalina.core.StandardContext filterStart SEVERE: Exception starting filter SolrRequestFilter org.apache.solr.common.SolrException: Could not find necessary SLF4j logging jars.”异常;
步骤5,启动Tomcat,访问 solr的admin页面 http://127.0.0.1:8086/solr。
标签:style http io ar os sp java strong on
原文地址:http://my.oschina.net/huangcongmin12/blog/353454