tomcat运行solr案例

第一次接触solr,按照晚上的博文下载解压solr.war到tomcat中报错:
Can't  find resource 'solrconfig.xml'  in classpath  or 'solr\.\conf/',  cwd=......
解决办法:将solr中web.xml里的<env-entry>标签里指定solr的项目路径即可

猜你喜欢

转载自920198034.iteye.com/blog/2296247