The type javax.http.HttpServletRequest cannot be resolved.It is indirectly
错误:The type javax.http.HttpServletRequest cannot be resolved.It is indirectly....
原因:项目中缺少servlet-api.jar文件。
解决办法:将D:/Program Files/Apache Software Foundation/Tomcat 5.5/common/lib下的servlet-api.jar拷贝到项目中,然后编译即可。
最后更新:2017-04-04 07:04:13