[spring] start error: nosuchmethoderror: javax.servlet.http . HttpServletResponse.getStatus () I

The Spring V4.1.0+ version will report the following error when running on an application server that does not support Servlet3.0:
NoSuchMethodError: javax.mail. Servlet. HTTP. HttpServletResponse. GetStatus () I
For example: tomcat 7 or less, JBoss 4.2.3 or less

There are two solution versions (you can choose either one) :
1) Back to Spring V4.0.7
2) Upgrade the application server to one that supports Servlet3.
Such as Tomcat7 + (preferably Tomcat8 +), JBoss as 7+
                 


Read More: