Tomcat+solr 请求的资源[/solr/index.html]不可用

Bug:

搭建好tomcat后,基于tomcat搭建solr,tomcat启动后,网址栏输入localhost:8080  可以正常访问,输入http://localhost:8080/solr/index.html#/,访问solr,提示 “请求的资源[/solr/index.html]不可用“。

Tomcat+solr 请求的资源[/solr/index.html]不可用解决方案:

回到tomcat文件夹下,进入webapps,进入solr目录下,是不是直接能看到index.html这个文件,如果不能,恭喜你,只是文件路径错误,顺着路径找下去,直到看到index.html,例如我的路径是http://localhost:8080/solr/webapp/index.html#/,一定不要忘了最后的#号,要不然还是会报错

Tomcat+solr 请求的资源[/solr/index.html]不可用