eclipse项目中关于导入的项目里提示HttpServletRequest 不能引用的解决办法

当使用eclipse导入外部的web工程时,有时会提示 HttpServletRequest找不到的情况,解决办法:
----------------------------------------------------
选中项目-->properties-->Targeted Runtimes-->在右边窗口中选择你使用的服务器即可

猜你喜欢

转载自java-lxm.iteye.com/blog/1166332