Spring V4.1以后的版本在不支持Servlet3.0的应用服务器上跑时会报如下错误:

NoSuchMethodError: javax.servlet.http.HttpServletResponse.getStatus()I 

解决办法:更换spring的版本,或者更换tomcat的版本,使用tomcat7及以上

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-24
  • 2021-09-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-04-17
  • 2021-11-29
  • 2022-12-23
  • 2022-01-12
  • 2021-06-28
  • 2021-04-05
  • 2022-01-18
相关资源
相似解决方案