首页 > 代码库 > 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拷贝到项目中,然后编译即可。

The type javax.http.HttpServletRequest cannot be resolved.It is indirectly……问题之解决