錯誤描述:import javax.servlet.http.HttpServletRequest 提示錯誤
原因分析:
在eclipse中導入項目后,Server的library不會一同導過來。
解決:
1.右擊項目,選擇properties
2.搜索Java Build Path
3.選中libraries,點擊Add Library
4.點擊Server RunTime
5.點擊next,選擇服務器,點擊finish
6.點擊應用並關閉