java.lang.NoClassDefFoundError: HttpServletRequest
在eclipse里启动tomcat报错,错误日志:Caused by: java.lang.ClassNotFoundException: HttpServletRequest
在build path里的tomcat的版本不对,
解决方案:
Right click on the project in eclipse Properties
-> Java Build Path
-> Add library
-> Server Runtime Library
-> Apache Tomcat