錯誤信息:
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()Z
很明顯:是tomcat7沒有ServletInputStream.isFinished()這個方法
解決:
建議solr5以上的的標配tomcat8+jdk1.8,不然很容易出問題,我用的Tomcat7,換為Tomcat8后就可以了。