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