錯誤信息:java
Servlet.service() for servlet [default] in context with path [/solr] threw exception [Filter execution threw an exception] with root cause
java.lang.NoSuchMethodError: javax.servlet.ServletInputStream.isFinished()Ztomcat
很明顯:是tomcat7沒有ServletInputStream.isFinished()這個方法servlet
解決:it
建議solr5以上的的標配tomcat8+jdk1.8,否則很容易出問題,我用的Tomcat7,換爲Tomcat8後就能夠了。io