java.lang.NoSuchMethodError: javax.Servlet.service() for servlet [default] in context with path

在搭建solr7的过程中遇到了这个问题,

具体错误描述为

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()

错误提示信息已经告诉我们没有ServletInputStream.isFinished()这个方法

只要将tomcat 7换成tomcat8就可完美解决问题

猜你喜欢

转载自blog.csdn.net/TTTZZZTTTZZZ/article/details/81809599
今日推荐